shapeshift-data-formatter
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

Shapeshift data formatter

A collection of data formatter functions.

To run and install this package

$ npm install shapeshift-data-formatter

import { json_to_xml, xml_to_json } from 'shapeshift-data-formatter'

const xml = json_to_xml(json);
const json = xml_to_json(xml)

Functions

  • xml_to_json Takes XML as input and returns JSON object with corresponding data.

  • json_to_xml Takes JSON as input and returns XML with corresponding data.

Other information

Terms of usage (MIT) - Lisence

Basicly feel free to use, fork etc. But The author takes no responsibility of the code as stated in the license.

Package Sidebar

Install

npm i shapeshift-data-formatter

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

12 kB

Total Files

12

Last publish

Collaborators

  • joakimengqvist