chipotlejs

1.0.4 • Public • Published

chipotlejs Build Status npm version

Chipotle + JavaScript

Installation

Use npm to install:

$ npm i chipotlejs

Usage

First, you'll need to require() the library:

var chipotle = require('chipotlejs');

Creating a new Burrito object:

var myFood = chipotle.createBurrito('steak', ['white rice', 'black beans'], ['sour cream', 'hot salsa', 'lettuce']);

API

chipotlejs#createBowl(meat, veggies, extras, knowAboutGuacamoleCost)

Create a burrito bowl.

Parameters

  • meat <String>
  • veggies [ <String>, ... ]
  • extras [ <String>, ... ]
  • knowAboutGuacamoleCost <Bool>

Returns

  • <Bowl>

chipotlejs#createBurrito(meat, veggies, extras, knowAboutGuacamoleCost)

Create a burrito.

Parameters

  • meat <String>
  • veggies [ <String>, ... ]
  • extras [ <String>, ... ]
  • knowAboutGuacamoleCost <Bool>

Returns

  • <Burrito>

chipotlejs#createTaco(tacoType, hardOrSoft, meat, veggies, extras, knowAboutGuacamoleCost)

Create a taco.

Parameters

  • tacoType <String>
  • hardOrSoft <String>
  • meat <String>
  • veggies [ <String>, ... ]
  • extras [ <String>, ... ]
  • knowAboutGuacamoleCost <Bool>

Returns

  • <Taco>

chipotlejs#createSalad(meat, veggies, extras, knowAboutGuacamoleCost)

Create a salad.

Parameters

  • meat <String>
  • veggies [ <String>, ... ]
  • extras [ <String>, ... ]
  • knowAboutGuacamoleCost <Bool>

Returns

  • <Salad>

Readme

Keywords

Package Sidebar

Install

npm i chipotlejs

Weekly Downloads

3

Version

1.0.4

License

MIT

Last publish

Collaborators

  • tylerdmace