Chipotle + JavaScript
Use npm
to install:
$ npm i chipotlejs
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']);
Create a burrito bowl.
- meat <String>
- veggies [ <String>, ... ]
- extras [ <String>, ... ]
- knowAboutGuacamoleCost <Bool>
- <Bowl>
Create a burrito.
- meat <String>
- veggies [ <String>, ... ]
- extras [ <String>, ... ]
- knowAboutGuacamoleCost <Bool>
- <Burrito>
Create a taco.
- tacoType <String>
- hardOrSoft <String>
- meat <String>
- veggies [ <String>, ... ]
- extras [ <String>, ... ]
- knowAboutGuacamoleCost <Bool>
- <Taco>
Create a salad.
- meat <String>
- veggies [ <String>, ... ]
- extras [ <String>, ... ]
- knowAboutGuacamoleCost <Bool>
- <Salad>