Skip to content

A JS library written in TypeScript which converts an integer into words.

License

Notifications You must be signed in to change notification settings

pb10005/integer-reader

Repository files navigation

Integer Reader

npm version npm Build Status Maintainability Test Coverage MIT License

Summary

A JS library written in TypeScript which converts an integer into words.

Usage

Install

npm i integer-reader

Use

const reader = require('integer-reader');
// English
console.log(reader.read(150, 'en')); // => one hundred and fifty
// Japanese
console.log(reader.read(150, 'ja')); // => 百五十

Development

build

npm run build

watch

npm run watch

test

npm test

About

A JS library written in TypeScript which converts an integer into words.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published