@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)); // ๑๒๓.๔๕

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    0

Package Sidebar

Install

npm i @numerals/thai

Weekly Downloads

0

Version

0.0.2

License

ISC

Unpacked Size

5.12 kB

Total Files

8

Last publish

Collaborators

  • amerharb