About this project

Numeral.js is a JavaScript library designed for formatting and manipulating numbers. It provides a simple API to format numbers with custom patterns, handle currencies, percentages, bytes, ordinals, and abbreviations. The library supports multiple locales (using ISO 639-1 language codes and ISO 3166-1 country codes) and allows custom formats and locales to be registered as plugins. It includes features like zero formatting, null handling, exponential notation, and options to control percentage scaling. The project is MIT licensed and inspired by Moment.js. The repository includes source code, tests (using Mocha and Chai), and build tools (Grunt).