@jonny/uzh-course-shortname

Abbreviate course names from UZH

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
00Nov 25, 2017Jun 22, 2016Minified + gzip package size for @jonny/uzh-course-shortname in KB

Readme

uzh-course-shortname Build Status

Abbreviate course names from UZH, even complex ones.

This module tries to remove everything but the most relevant part of a UZH module name.

Example: 002a Proseminario I di linguistica italiana: Elementi di linguistica sincronica gets abbreviated to Elementi di linguistica sincronica.

BWL III (V+Ü) (Business Administration III) gets abbreviated to BWL III.

LTK Modul 5: Zuchtmanagement Nagetiere gets abbreviated to Zuchtmanagement Nagetiere.

Install

$ npm install --save @jonny/uzh-course-shortname

Usage

const uzhCourseShortname = require('@jonny/uzh-course-shortname');

uzhCourseShortname('159 Aufbaumodul 3 NDL (SU): Poetik und Praxis des Notierens');
//=> 'Poetik und Praxis des Notierens'

API

uzhCourseShortname(input)

input

Type: string

License

MIT © Jonny Burger

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.