1.2.0 • Published 5 years ago

@paybygroup/baelish v1.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

Baelish

Lord Petyr Baelish, popularly called Littlefinger, was the Master of Coin on the Small Council under King Robert Baratheon and King Joffrey Baratheon.

This library is a simple wrap for a Money type in javascript.

Usage

import money, { USD, format } from '@paybygroup/baelish';

const amount = money(100, USD);
format(amount); // => "$1.00"

// or

var baelish = require('@paybygroup/baelish');
var money = baelish.default;

var amount = money(100, baelish.USD);
baelish.format(amount); // => "$1.00"

We're still working on the docs, please refer to the source code for now.

Installing

npm install @paybygroup/baelish

Contributing

License

MIT

1.2.0

5 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.9

6 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago