Skip to content

vtfk/minelev-document-converter

Repository files navigation

JavaScript Style Guide

@vtfk/minelev-document-converter

Converts new document type back into old document type. This allows for a smoother transition from old to new

Installation

npm i @vtfk/minelev-document-converter

Usage

Import the module Then call it with the document object and the language you want for the old document

const convert = require('@vtfk/minelev-document-converter');

const oldDocument = convert(newDocument, 'nb');

Differences

The following properties will not be given back with the old document, because they are not used anywhere..

  • minElevVersion
  • skjemaUtfyllingStop
  • userAgent

About

Converts new document to old document

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •