smg-untis-parser

Parse SMG teacher substitution schedules

Usage no npm install needed!

<script type="module">
  import smgUntisParser from 'https://cdn.skypack.dev/smg-untis-parser';
</script>

README

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;