tokei
v0.3.5
Published
Date, time, and number, localization for Node.js
Downloads
38
Maintainers
Readme
Tokei
Date, time, and number localization for node.js
Tokei is a localization library that combines and wraps Intl.DateTimeFormat, Intl.NumberFormat, and Moment.js (including Moment.js Timezone) with a very simple API.
Documentation
See documentation.
Usage
# Install
npm install --save tokei
var tokei = require('tokei');
tokei(locale).date().now();
Contribution
I would gladly accept any contribution! Just use gulp to lint and beautify your code.
Known Issues
Formatting Japanese and Chinese are incorrect so I recommend you to use moment.