JSPM

  • Created
  • Published
  • Downloads 221974
  • Score
    100M100P100Q166710F
  • License MIT

Format and manipulate numbers.

Package Exports

  • numbro/dist/languages.min
  • numbro/dist/numbro
  • numbro/languages/cs-CZ
  • numbro/languages/da-DK
  • numbro/languages/de-CH
  • numbro/languages/de-DE
  • numbro/languages/de-DE.js
  • numbro/languages/en-GB
  • numbro/languages/en-ZA
  • numbro/languages/es-AR
  • numbro/languages/es-ES
  • numbro/languages/et-EE
  • numbro/languages/fa-IR
  • numbro/languages/fi-FI
  • numbro/languages/fil-PH
  • numbro/languages/fr-CA
  • numbro/languages/fr-CH
  • numbro/languages/fr-FR
  • numbro/languages/hu-HU
  • numbro/languages/it-IT
  • numbro/languages/ja-JP
  • numbro/languages/lv-LV
  • numbro/languages/nb-NO
  • numbro/languages/nl-BE
  • numbro/languages/nl-NL
  • numbro/languages/pl-PL
  • numbro/languages/pt-BR
  • numbro/languages/pt-PT
  • numbro/languages/ru-RU
  • numbro/languages/ru-UA
  • numbro/languages/sk-SK
  • numbro/languages/sv-SE
  • numbro/languages/th-TH
  • numbro/languages/tr-TR
  • numbro/languages/uk-UA
  • numbro/languages/zh-CN

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (numbro) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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