Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

accounting-js

nashdot100.3kMIT1.1.1

Number, money and currency formatting library.

es6, modules, rollup, bundle, accounting, number, money, currency, format, utilities, finance, exchange

readme

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
  • Published as accounting-js on NPM

Copyright (c) 2016 Nashdot, MIT License

Copyright (c) 2014 Open Exchange Rates, MIT License

changelog

1.1.0-1 - 2016-02-24

  • Remove "internal" methods

1.0.0-1 - 2016-02-18-22

  • Initial release (fork accounting.js)
  • Apply PR from original project