UNPKG

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