8000 GitHub - blewisio/wines: types of wine :wine_glass: · GitHub
[go: up one dir, main page]

Skip to content
blewisioPublic

About

types of wine 🍷

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

23 Commits

Folders and files

Repository files navigation

wines

types of wine

const wines = require('wines');

console.log(wines.reds());
// ['Cabernet Sauvignon', 'Chianti', 'Malbec', ...]

console.log(wines.whites());
// ['Champagne', 'Chardonnay', 'Pinot Grigio', ...]

Installation

If using yarn:

yarn add wines

Otherwise:

npm install wines --save

Functions

wines.all()

Returns all wines and their data.

wines.list()

Returns all wines (names only).

wines.reds()

Returns the red wines (names only).

wines.roses()

Returns the rosé wines (names only).

wines.whites()

Returns the white wines (names only).

License

ISC

About

types of wine 🍷

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0