Skip to content

eternal44/crockpot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Main crockpot library - converts to and from multiple number formats

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published