bengaluru_brews

1.0.3 • Public • Published

A JavaScript module (and command line utility) to obtain a list of beers on tap at Brewklyn Beer and TOIT It is a simple web scraper.

CLI

> bin/BenBrew

TOIT
dark-knight,
colonial-toit,
toit-red,
toit-weiss,
tintin-toit,
basmati-blonde,
benga-lager-u-2


BREWKLYN
brewklyns finest - belgian wit,
ale capone - new england ipa,
wheat porter - iron mike,
streissand - saison,
biggie - marzen/oktoberfest

Module

const brewww = require("bengaluru_brews")
 
brewww.toit(function(err,results){
    console.log(results)
})

brewww.brewklyn(function(err,results){
    console.log(results)
})

//OUTPUT

// [
//   'dark-knight',
//   'colonial-toit',
//   'toit-red',
//   'toit-weiss',
//   'tintin-toit',
//   'basmati-blonde',
//   'benga-lager-u-2'
// ]
// [
//   "brewklyn's finest - belgian wit",
//   'ale capone - new england ipa',
//   'wheat porter - iron mike',
//   'streissand - saison',
//   'biggie - marzen/oktoberfest'
// ]
});

Readme

Keywords

Package Sidebar

Install

npm i bengaluru_brews

Weekly Downloads

4

Version

1.0.3

License

ISC

Unpacked Size

3.56 kB

Total Files

5

Last publish

Collaborators

  • legion31