osm_opening_hours

1.0.2 • Public • Published

Description

Parse opening_hours tag from OSM and returns string with current working hours depending on day of week.

Install

$ npm install osm_opening_hours

Usage

For now use can use only simple parse method, which returns string with current opening hours:

var osm = require('osm_opening_hours');

var opening_hours = 'Mo 10:00-12:00,12:30-15:00; Tu-Fr 08:00-12:00,12:30-15:00; Sa 08:00-12:00'

var current_working_hours = osm.parse(opening_hours);

Readme

Keywords

Package Sidebar

Install

npm i osm_opening_hours

Weekly Downloads

2

Version

1.0.2

License

ISC

Last publish

Collaborators

  • wavemeup