A node module to convert number to words.
- go to module folder, type:
cd numberToWord - install grunt and mocha, type:
npm install - install mocha globally, type:
npm install -g mocha - at this point module is ready to test, test file located in /test, to test type:
mocha
Theres also Web app showing this module in action.
- go to web folder, type:
cd web - install modules, type
npm install - Start the server:
node server.js - View in browser at
http://localhost:3000
For KISS way to test the module, there is cli available too!
- just type:
node cli.js