drinks

1.0.1 • Public • Published

drinks

List of all mankind alcoholic beverages.

Installation

npm install drinks

Usage

import drinks from "drinks";
 
console.log(drinks());
/*
[
    {
        name: "Beer",
        min: 2,
        max: 12,
    },
    ...
]
*/

Example

import drinks from "drinks";
 
const liquorsNames = drinks()
    .filter(({ min }) => min > 30)
    .map(({ name }) => name);

License

MIT

Install

npm i drinks

DownloadsWeekly Downloads

3

Version

1.0.1

License

MIT

Unpacked Size

7.4 kB

Total Files

5

Last publish

Collaborators

  • gmartigny