@numerals/thai
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

@numerals/thai

Version License: GPLv3 Coverage Github workflow

@numerals/thai is a package for converting number into Thai numeral.

123 -> ๑๒๓

How to use

npm:

npm i @numerals/thai

yarn:

yarn add @numerals/thai

Type Script:

import { convert } from '@numerals/thai';
console.log(convert(123)); // ๑๒๓
console.log(convert(123.45)); // ๑๒๓.๔๕

Package Sidebar

Install

npm i @numerals/thai

Weekly Downloads

23

Version

0.0.2

License

ISC

Unpacked Size

5.12 kB

Total Files

8

Last publish

Collaborators

  • amerharb