elev-varsel-generate-document-title

2.3.3 • Public • Published

Build Status js-standard-style

elev-varsel-generate-document-title

Generates document title for elev varsel

Usage

Input document object and untOff (boolean).

untOff = true => Includes students name

const data = require('./document.json')
const generateTitle = require('./index')
 
console.log(generateTitle(data, true))
 
//=> Varsel - fag - 3GKJ/876ABC2003 - Tomato Sauce - LARVS:3GKJ - Standpunktkarakter - 2016/2017
 
console.log(generateTitle(data, false))
 
//=> Varsel - fag - 3GKJ/876ABC2003 - LARVS:3GKJ - Standpunktkarakter - 2016/2017
 

License

MIT

Package Sidebar

Install

npm i elev-varsel-generate-document-title

Weekly Downloads

12

Version

2.3.3

License

MIT

Unpacked Size

12.5 kB

Total Files

17

Last publish

Collaborators

  • cybermelmac
  • maccyber
  • telemark
  • zrrrzzt