Skip to content
cesarferreiraPublic

About

Quickly convert things into other things

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

46 Commits

Folders and files

Repository files navigation

chef-cli

Quickly convert things into other things

Build Status npm npm License

Install

npm install -g chef-for-terminal

Usage

Run the command and convert away

Usage
   $ chef

Current list of recipes

  • Celcius to Fahrenheit
  • Celcius to Kelvin
  • Decimal to Hexadecimal
  • Decode Base64
  • Decode Binary
  • Decode JWT Token
  • Encode Base64
  • Encode to Binary
  • Fahrenheit to Celcius
  • Pound to Euro
  • Pound to Dollar
  • Hexadecimal to Decimal
  • Kelvin to Celcius
  • Kilometers to Miles
  • Miles to Kilometers

Create your own recipes:

Clone the repo:

git clone https://github.com/cesarferreira/chef-cli
cd chef-cli
npm link
$ chef create "Kilometers to Miles"

A file kilometers-to-miles.js is automatically created inside recipes/ folder with:

module.exports = {
    title: "Kilometers to Miles",
    execute: input => {
        return new Promise((resolve, reject) => {
            // TODO calculations with 'input'
            resolve(42);
        });
    }
}

All you have to do is replace the execute function with your own and open a pull request!


Made with ❤️ by Cesar Ferreira

About

Quickly convert things into other things

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages