@billogram/money
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

@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

Readme

Keywords

none

Package Sidebar

Install

npm i @billogram/money

Weekly Downloads

1

Version

1.1.1

License

MIT

Unpacked Size

30.9 kB

Total Files

16

Last publish

Collaborators

  • jamesbillo
  • oscarekholm
  • irynaziruikina
  • jmfederico
  • andreagylling
  • ewakosciukiewicz
  • miriamlarsson