UNPKG

634 BMarkdownView Raw
1
2## Acknowledgements
3
4This library is free software. We just make it easier for us to get the thai baht.
5
6## Getting Started
7
8Send in the number to get thai baht result in string format
9
10## Installation
11
12using yarn
13```
14yarn add @to-da-moon/thai-baht-lib
15```
16using npm
17```
18npm i @to-da-moon/thai-baht-lib
19```
20
21## Example Usage
22
23```
24bahtText(1)
25// return thai baht text format
26// e.g. 1 -> หนึ่งบาทถ้วน
27```
28
29```
30bahtText(100)
31// return thai baht text format
32// e.g. 100 -> หนึ่งร้อยบาทถ้วน
33```
34
35## Plan
36
37- [ ] Let me know what to upgrade, just create issue for us, we will do it.