0.0.2 • Published 3 years ago

@practera/template-transform v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

@practera/template-transform

Facilitates the communication with the Practera preferences API.

Health

Quality Gate Status Coverage Security Rating Maintainability Rating Bugs Code Smells

Install

$ npm install @practera/template-transform

Usage

setting up the client

JavaScript:

const transform = require("@practera/template-transform");

TypeScript:

import { transform } from "@practera/template-transform";

Transforming a template

const result = transform(
  VersionFrom, // string, the version the template is in
  VersionTo, // string, the desired version
  data // {} the json data
);