ut-function.currency

1.2.1 • Public • Published

ut-function.currency

Usage

const curFun = require('ut-function.currency');
const deps = {
    errors: {
        'currency.invalidCurrency': (args) => {
            throw new Error('.....');
        },
        'currency.invalidAmount': (args) => {
            throw new Error('.....');
        }
    }
};
const currency = curFun(deps);

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.2.1
    1
    • latest

Version History

Package Sidebar

Install

npm i ut-function.currency

Weekly Downloads

1

Version

1.2.1

License

Apache-2.0

Unpacked Size

20.9 kB

Total Files

5

Last publish

Collaborators

  • kalin.krustev