Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

foretagsplatsen/numbro

 
 

Repository files navigation

WE HAVE MOVED!

The project has moved to https://github.com/BenjaminVanRyseghem/numbro, we are no more accepting PRs in the current repository.

Join the chat at https://gitter.im/foretagsplatsen/numbro

A javascript library for formatting and manipulating numbers.

Website and documentation

Travis Build Status

Master Build Status

Develop Build Status

NPM

NPM

Contributing

Please submit all pull requests to the develop branch.

  1. Fork the library

  2. Install grunt

  3. Run npm install to install dependencies

  4. Add your tests to the files in /tests

  5. To test your tests, run grunt test

  6. When all your tests are passing, submit a pull request to the develop branch.

Languages

Languages names follows the Microsoft culture name convention as found here. If Microsoft does not have a code for the country/locale combination, use the format lang-locale where the language code is a 2 letter abbreviation from the list of ISO 639-1 language codes and the localecode is from the list of ISO 3166-1 country codes

Language translations will not be merged without unit tests.

See the english unit tests for an example.

Changelog

See CHANGELOG.md.

Acknowledgements

numbro is forked from Adam Draper's project Numeral.js, which was in turn inspired by and heavily borrowed from Moment.js.

License

Copyright © 2014 Adam Draper

Copyright © 2015-2016 Företagsplatsen AB


Distributed under the MIT license. If you want to know more, see the LICENSE file.

The original license file for Numeral.js can be found in LICENSE-Numeraljs

About

Fork of numbro.js

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE-Numeraljs

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%