Skip to content

Wrapper around debug, which lets you specify timezone and date format for stdout

License

Notifications You must be signed in to change notification settings

notgiorgi/node-debug-timezone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

debug-timezone

Wrapper around debug, which lets you specify timezone and date format for stdout

Installation

$ npm install debug-timezone

API

API is almost same as the original debug, you can now provide additional parameters for Timezone and Timestamp format:

const debug = require('debug-timezone')('Steve:Ballmer', 'DD.MM.YY', 'Europe/Lisbon')

debug('Developers! Developers! Developers!')
// results in: 11.12.2016 Developers! Developers! Developers!

For formating and timezones see moment and moment-timezone packages

About

Wrapper around debug, which lets you specify timezone and date format for stdout

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published