A JS library for number formatting
Clone or download
BenjaminVanRyseghem Merge pull request #363 from aralisza/patch-1
Enable es6 imports when using typescript
Latest commit bbeb182 Jul 23, 2018
Permalink
Failed to load latest commit information.
eslint_rules Rewrite numbro boilerplate Nov 22, 2017
integrationTests Add unit and integration tests Nov 22, 2017
languages fixed currency position for nl-NL Apr 9, 2018
resources Rewrite numbro boilerplate Nov 22, 2017
spec/support Rewrite numbro boilerplate Nov 22, 2017
src Fixes duplicate call of chooseLanguage when setting a language withou… Jul 13, 2018
tests Fixes duplicate call of chooseLanguage when setting a language withou… Jul 13, 2018
.babelrc Rewrite numbro boilerplate Nov 22, 2017
.editorconfig Rewrite numbro boilerplate Nov 22, 2017
.eslintrc.js Rewrite numbro boilerplate Nov 22, 2017
.gitignore Stop tracking `dist` files Mar 21, 2018
.travis.yml Rewrite numbro boilerplate Nov 22, 2017
AUTHORS Merge pull request #363 from aralisza/patch-1 Jul 23, 2018
CHANGELOG-Numeraljs.md Make markdown files more readable when viewing as plain text Apr 21, 2015
CHANGELOG.md Release 2.1.0 Jun 13, 2018
COPYING Rewrite numbro boilerplate Nov 22, 2017
LICENSE Rewrite numbro boilerplate Nov 22, 2017
LICENSE-Numeraljs Rename everything Apr 14, 2015
README.md fix README link to test Mar 21, 2018
bower.json Release 2.1.0 Jun 13, 2018
component.json Release 2.1.0 Jun 13, 2018
gulpfile.js No need to update `package-lock.json` as we execute `npm install` Mar 21, 2018
karma.conf.js Rewrite numbro boilerplate Nov 22, 2017
numbro.d.ts Enable es6 imports when using typescript Jul 9, 2018
package-lock.json Release 2.0.6 Mar 21, 2018
package.json Release 2.1.0 Jun 13, 2018

README.md

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. Run npm install to install dependencies

  3. Add your tests to the files in /tests

  4. To test your tests, run npm test

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

Languages

Language tags follow the BCP 47 specification.

Language translations will not be merged without unit tests.

See the english unit tests for an example.

Changelog

See CHANGELOG.md. For the original project (Numeral.js) changelog, see CHANGELOG-Numeraljs.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 © 2017 Benjamin Van Ryseghem

Copyright © 2015-2017 Företagsplatsen AB

Copyright © 2014 Adam Draper


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