1.2.0 • Published 6 years ago

@paybygroup/baelish v1.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 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

6 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.9

8 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago