@billogram/money
v1.1.1
Published
> Functions for creating and manipulating money objects
Downloads
22
Keywords
Readme
@billogram/money
Functions for creating and manipulating money objects
Install
yarn add @billogram/money
Usage
import money from '@billogram/money';
const {
abs,
add,
create,
divide,
equals,
hasNonZeroValue,
hasValue,
is,
multiply,
negate,
normalize,
round,
split,
subtract,
to,
} = money;
See types for exported types.
money
Note
This library is being published with our use cases in mind and is not necessarily meant to be consumed by the broader public. We probably won't take your feature requests unless they align with our own needs.
License
MIT