Skip to content

Parse opening_hours tag from OSM and shows current working hours depending on day of week

License

Notifications You must be signed in to change notification settings

WaveMeUp/osm_opening_hours

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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);

About

Parse opening_hours tag from OSM and shows current working hours depending on day of week

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published