JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 28121
  • Score
    100M100P100Q133193F
  • License MIT

Number, money and currency formatting library.

Package Exports

  • accounting-js

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 (accounting-js) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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