0.0.1 • Published 4 years ago

smg-untis-parser v0.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

SMG UntisParser

Parse Sebastian-Münster-Gymnasium teacher substitution schedules.

Installation

You need to provide your own cheerio instance since this package needs to be compatible with react-native.

yarn add smg-untis-parser

and

yarn add cheerio or yarn add react-native-cheerio

Usage

import cheerio from 'cheerio'; // 'react-native-cheerio'
import UntisParser from 'smg-untis-parser';

const parser = new UntisParser(cheerio, data);
const timetables = parser.timetables;