Skip to content
TwitterCldr npm package
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
full
min
.gitignore
CONTRIBUTING.md
LICENSE
README.md
bower.json
component.json
package.json
twitter_cldr.js

README.md

twitter-cldr-npm

TwitterCldr npm package.

Installation

Installation is easy with npm:

npm install twitter_cldr

Loading It Up

var TwitterCldr = require('twitter_cldr').load('en');
var formatter = new TwitterCldr.DateTimeFormatter();
fmt.format(new Date(), {"type": "full"});

Usage

See usage documentation for twitter-cldr-js.

Dependencies

  • None.

Tests

See twitter-cldr-js for test suite.

Authors

Links

License

Copyright 2012 Twitter, Inc.

Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0

Something went wrong with that request. Please try again.