#Say This Number Parses numbers to a human language.
##Requirements Available via npm.
- express 3.x
- jade
##Usage
Run node index.js
and go to 127.0.0.1:8000
, a basic page with instructions is there. The service also supports a basic curl post API.
##Adding New Languages
- Write your number parser and expose the function
parseNumber
which recieves a number and returns the number parsed in that language. Make sure to support negative numbers in the new language. - Add the language to the
parsers
object innumberDictionary.js
with the [your language] name as the key andrequire('./parsers/[your language]')
as the value. - Restart the server and try it out by going to
127.0.0.1:8000/[your langauge]/123
!
##Supported Languages List of parsers.