Options
All
  • Public
  • Public/Protected
  • All
Menu

integer-reader

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

Generated using TypeDoc