Skip to content

Streaming approach from Date#toUTCString() to Date#toLocaleString().

License

Notifications You must be signed in to change notification settings

crzidea/utc2locale

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

utc2locale

NPM version

Streaming approach from Date#toUTCString() to Date#toLocaleString().

Install

$ npm install -g utc2locale

Usage

Run derectly

$ tail -f /path/to/your/log | utc2locale

or

$ utc2locale </path/to/your/log

Use with nodejs

var Transformer = require('utc2locale');
fileStream.pipe(new Transformer).pipe(process.stdout);

About

Streaming approach from Date#toUTCString() to Date#toLocaleString().

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published