🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

elev-varsel-generate-document-title

Package Overview
Dependencies
Maintainers
4
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

elev-varsel-generate-document-title

Generates document title for varsel and elevsamtale

2.3.3
latest
Source
npm
Version published
Weekly downloads
1
-50%
Maintainers
4
Weekly downloads
 
Created
Source

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

Keywords

minelev

FAQs

Package last updated on 22 Jan 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts