Skip to content

Krettis/SayThisNumber

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#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

  1. 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.
  2. Add the language to the parsers object in numberDictionary.js with the [your language] name as the key and require('./parsers/[your language]') as the value.
  3. Restart the server and try it out by going to 127.0.0.1:8000/[your langauge]/123!

##Supported Languages List of parsers.

About

Parse numbers to a human language.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 97.4%
  • HTML 2.6%