@vtfk/minelev-document-converter

2.0.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @vtfk/minelev-document-converter

Weekly Downloads

0

Version

2.0.2

License

MIT

Unpacked Size

18.5 kB

Total Files

25

Last publish

Collaborators

  • robinelli
  • karl-einarb
  • maccyber
  • zrrrzzt
  • sherex
  • matsand
  • runely
  • jorgtho