signal-ai-code-challenge

1.0.1 • Public • Published

Signal-AI Code Challenge

Build Status

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

Readme

Keywords

none

Package Sidebar

Install

npm i signal-ai-code-challenge

Weekly Downloads

0

Version

1.0.1

License

ISC

Unpacked Size

5.94 kB

Total Files

6

Last publish

Collaborators

  • imanm93