tokei

0.3.5 • Public • Published

Tokei

Date, time, and number localization for node.js

Dependency Status License Status Downloads Version Build Status

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.

Package Sidebar

Install

npm i tokei

Weekly Downloads

15

Version

0.3.5

License

MIT

Last publish

Collaborators

  • iwatakeshi