sheql
v0.0.29
Published
An elegant solution for selecting dates
Readme
#Schedule Query Langauge

SHEQL is a schema less solution to the problem of storing repeated events in a calendar. It is inspired by CSS selectors.
#Features
- A Far More powerful and customizable logic for repetition can be written.
- A Schemaless Architecture.
- A single change is required to update repeated events.
- Platform independent.
##How to use from cli
- run
npm install sheql -g. - Example - get all the tuesdays of the year, except if they fall on the last day of the month
sheql 'm.sep d:l[x+2].tue' - To use it as a package dependency, install it locally and use
require 'sheql'.
##Using as a dependency
var sheql = require('sheql');
var startDate = new Date(2010, 1,10);
var endDate = new Date(2110, 4,15);
var startDayOfWeek = 1; //Monday
sheql.getDates('m.sep d:l[x+2].tue', startDate, endDate, startDayOfWeek);