/safe-money

Lightweight implementation of Martin Fowlers Money pattern

Primary LanguageJavaScriptApache License 2.0Apache-2.0

safe-money

npm (scoped) Travis Coveralls

Lightweight implementation of Martin Fowlers Money pattern.

Table of Contents

Install

This project uses node and npm. Go check them out if you don't have them locally installed.

$ npm install --save safe-money

The UMD build is also available on jsdelivr:

<script src="https://cdn.jsdelivr.net/npm/safe-money/dist/safe-money-browser.min.js"></script>

You can find the library on window.SafeMoney.

Usage

import SafeMoney from 'safe-money'

API

Table of Contents

Contributing

See the contributing file.

License

Apache License 2.0