Skip to content

A javascript library for formatting and manipulating numbers.

License

Notifications You must be signed in to change notification settings

Eric24/Numeral-js

 
 

Repository files navigation

A javascript library for formatting and manipulating numbers.

Website and documentation

Originally forked from Numeral.js v2.0.6

Original Numeral.js Travis Build Status

Master Build Status

Develop Build Status

Contributing

Important: Please create your branch from and submit pull requests to the develop branch. All pull requests must include the appropriate tests.

  1. Fork the library

  2. Install grunt

  3. Run npm install to install dependencies

  4. Create a new branch from develop

  5. Add your tests to the files in /tests

  6. To test your tests, run grunt

  7. When all your tests are passing, run grunt dist to compile and minify all files

  8. Submit a pull request to the develop branch.

Formats

Formats now exist in their own files and act more or less as plugins. Check out the bytes format for an example of how to create one.

Locales

When naming locale files use the ISO 639-1 language codes supplemented by ISO 3166-1 country codes when necessary.

Locale translations will not be merged without unit tests.

See the english unit tests for an example.

Changelog

2.0.7

Initial release after fork

Acknowlegements

Numeral.js, while less complex, was inspired by and heavily borrowed from Moment.js

License

Numeral.js is freely distributable under the terms of the MIT license. See the LICENSE file.

About

A javascript library for formatting and manipulating numbers.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%