Skip to content

oorts/read-vn-number

Repository files navigation

Read Vietnamese number to words npm

A small library that convert numbers to Vietnamese words.

Node.js CI Node.js Packages codecov GitHub All Releases npm

Installation

npm install @oorts/read-vn-number or yarn add @oorts/read-vn-number

Usage

import readVNNumber from '@oorts/read-vn-number';

var output = readVNNumber.toVNWord(15);

Output should be mười lăm

Tests

npm test

Contributing

In lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.