Skip to content

Latest commit

 

History

History

currency

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

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);