Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 695 Bytes

README.MD

File metadata and controls

44 lines (28 loc) · 695 Bytes

Xslt transformation

xslt transformation is a library for transformation of xml string or xml in base64 to xslt encoded.

Installation

Use the package manager NPM.

npm install

or using yarn

yarn install

Usage

npm run test

or

yarn test
import { getStringOriginal } from ".";
import { xmlString } from "./constant/xmlString";

//Example for xml string
getStringOriginal(xmlString).then((data) => console.log(`XML STRING: ${data}`));

//Example for xml string base64
getStringOriginal(xmlString, true).then((data) =>
  console.log(`BASE64: ${data}`)
);

License

MIT

Author: Matías Capuano