crockpot

0.0.4 • Public • Published

crockpot Build Status

Converts multiple number formats using decimal numbers as a proxy.

Install

$ npm install --save crockpot

Usage

The following types of numbers can be translated to one of the types below to any other:

  • decimal
  • roman numeral
  • english

TODO:

  • binary
var convert = require('crockpot')
 
crockpot.roman.toEnglish('IV')
// 'four'
 
crockpot.decimal.toEnglish(1066)
// 'one thousand sixty-six'

Development

To run tests follow the following instructions:

$ npm install -g gulp
$ npm install -g mocha

To run tests on file changes:

$ gulp test

Alternatively you can run individual tests:

$ mocha specs/**

License

MIT

Package Sidebar

Install

npm i crockpot

Weekly Downloads

1

Version

0.0.4

License

MIT

Last publish

Collaborators

  • eternal44