@cuties/json

1.1.1 • Public • Published

cutie-json

NPM Version Build Status codecov

Cutie extension for JSON in js. It's based on the Async Tree Pattern.

Examples

You can find examples of using this library in the test directory.

Install

npm install @cuties/json

Run test

npm test

Run build

npm run build

Usage

const {
  // Here needed async objects from the table below
} = require('@cuties/json');

For more information about parameters in the async objects visit docs.

Async Object Async/sync call Parameters(default value/description) Representation result
ParsedJSON JSON.parse string json
PrettyStringifiedJSON sync call from json-stringify-pretty-compact module json string
StringifiedJSON JSON.stringify json string
Value eval('json' + '.' + path) json, path value

Readme

Keywords

Package Sidebar

Install

npm i @cuties/json

Weekly Downloads

0

Version

1.1.1

License

MIT

Unpacked Size

10.8 kB

Total Files

17

Last publish

Collaborators

  • guseyn