Socket
Socket
Sign inDemoInstall

elev-varsel-generate-document-title

Package Overview
Dependencies
2
Maintainers
4
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    elev-varsel-generate-document-title

Generates document title for varsel and elevsamtale


Version published
Weekly downloads
3
decreased by-83.33%
Maintainers
4
Install size
20.8 kB
Created
Weekly downloads
 

Readme

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

FAQs

Last updated on 22 Jan 2019

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc