Number, money and currency formatting library.

Downloads in past


113111.1.17 years ago7 years agoMinified + gzip package size for accounting-js in KB


Build Status NPM version
accounting-js is a tiny JavaScript library for number, money and currency parsing/formatting. It's lightweight, fully localisable, has no dependencies, and works great client-side or server-side. Use standalone or as a nodeJS/npm and AMD/requireJS module.
Same as original accounting.js, but
  • Rewrited with es6, respecting common style
  • Using Rollup to produce UMD version
  • Tested with Ava, Coverage with Nyc
  • Applied corrections from
@Lakshmi-Sharma @spidergears @jvc @latentflip @stevenbristol @samosad @solinas
Copyright (c) 2016 Nashdot, MIT License
Copyright (c) 2014 Open Exchange Rates, MIT License