1.2.3 • Published 10 months ago
ut-function.currency v1.2.3
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);