hwh-lunch

v1.0.2
Returns the lunch menu from Henry Wood House, a cafe in a London workplace

Henry Wood House Menu

npm version

DEPRECATED

Unfortunately, The Office Group changed their website and no longer publish menus on their website, so this tool no longer works. :sob:

Intro

Henry Wood House is an office building in London, run by The Office Group.

The lunch menu for the café is available online. This utility uses a scraper to retrieve the menu and return it, as a string.

Installation

npm install --save hwh-lunch

Usage

var HwhLunch = require('hwh-lunch');

/*
  Takes a number from 1-5, indicating
  which day of the week you want the menu
  for. Monday = 1, Friday = 5.
*/

// Use Monday for this example.
var dayOfWeek = 1;

HwhLunch(dayOfWeek).then(function(menu) {

  // Do whatever you wish with this information.
  console.log(menu);
});
npm i hwh-lunch

Metadata

  • ISC
  • Whatever
  • Unknown
  • released 4/26/2017

Downloads

Maintainers