1.0.0 • Published 7 years ago

debug-timezone v1.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

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:Baller', 'DD.MM.YY', 'Europe/Lisbon')

debug('Developers! Developers! Developers!')

For formating and timezones see moment and moment-timezone packages