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
- Issues: https://github.com/paybygroup/baelish/issues
- Repository: https://github.com/paybygroup/baelish
License
MIT