@nlighten/json-transform
TypeScript icon, indicating that this package has built-in type declarations

1.8.1 • Public • Published

@nlighten/json-transform

JSON transformers JavaScript implementation (~20kB)

Installation

npm install @nlighten/json-transform

Usage

(async() => { // in an async context
  
  const transformer = new JsonTransformer("$$lower:$.x")
  expect(
    await transformer.transform({x: "HELLO"})
  ).toEqual("hello");
  
})();

Peer dependencies

Notice the following peer dependencies that are required by some of the functions:

  • fast-json-patch
  • js-yaml
  • json-pointer
  • xml2js

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i @nlighten/json-transform

Weekly Downloads

12

Version

1.8.1

License

MIT

Unpacked Size

706 kB

Total Files

523

Last publish

Collaborators

  • elisherer