brewdog-js
Version:
A JS wrapper for punkapi.com
30 lines (18 loc) • 663 B
Markdown
# brewdog.js
[](https://travis-ci.org/mikefrancis/brewdog.js) [](https://codecov.io/gh/mikefrancis/brewdog.js) [](https://www.npmjs.com/package/brewdog-js)
A JS wrapper for [punkapi.com](https://punkapi.com).
## Installation
### NPM
```bash
npm install --save brewdog-js
```
### Yarn
```bash
yarn add brewdog-js
```
## Usage
```javascript
import { Beer } from 'brewdog-js';
const beers = new Beer();
console.log(await beers.all());
```