@jonny/uzh-course-shortname

1.1.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i @jonny/uzh-course-shortname

Weekly Downloads

1

Version

1.1.1

License

MIT

Last publish

Collaborators

  • jonny