Skip to content

Guseyn/cutie-json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Cutie extension for JSON in js.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •