boston-food-trucks-info
Simple library to scrape data from the boston food trucks website
Installation
npm install --save boston-food-trucks-info
Usage
const fetchCurrentPage getFoodTruckSchedule = ;
Sample Output
API Reference
/** * Uses a http request to fetch the current food truck data page. * The returned Page object should only be used by passing it to dataByLocation. It * specifically is not part of the public api. */fetchCurrentPage: Promise<Page>; /** * Processes the Page object to extract the FoodTruckSchedule for the given location. */getFoodTruckSchedulepage: Page, location: string: FoodTruckSchedule;