Skip to content
This repository has been archived by the owner on Oct 16, 2019. It is now read-only.

bukinoshita/make-pizza

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

make-pizza Build Status

Making a pizza with ES2015

This repository is to learn how to make a pizza with JavaScript. Read it on this series of posts. The project is not really available on npm.

I know that it may be a better way to do this, but this project is just to explore different parts of JavaScript in a fun way. That's been said, I will accept any pull request on this project, but feel free to open issues so we can discuss.

Install

$ yarn add make-pizza

Usage

const makePizza = require('make-pizza')

makePizza({ topping: ['BBQ Chicken'] }).then(res => res)
// => Your 1 small pizza is ready! BBQ Chicken

API

makePizza([options])

options

Type: object
Required

object with pizza size and toppings.

size

Type: string
Default: small
Options: small, medium or large

toppings

Type: array
Options: Sunny Side Up and BBQ Chicken Required

License

MIT © Bu Kinoshita

Releases

No releases published

Packages

No packages published