signal-ai-code-challenge
v1.0.1
Published
Solution to signal ai code challenge
Downloads
2
Readme
Signal-AI Code Challenge
Convert an integer from 1 to 1000, inclusive, to it's grammatically correct English phrase.
Install
npm install --save signal-ai-code-challenge
Usage
const numberToWords = require('signal-ai-code-challenge');
console.log(numberToWords(1));
// result "One"
console.log(numberToWords(151));
// result "One Hundred and Fifty-One"
Development
To start development, first install npm dependencies
npm install
To run tests
npm run test