json-microscope
TypeScript icon, indicating that this package has built-in type declarations

2.0.2 • Public • Published

json-microscope

Collection of JSON conversion tools to help debug object structure

Install

npm i --save-dev json-microscope

or

yarn add -D json-microscope

API References

toJson(obj: Object) => string

Converts an object into an easy-to-read formatted JSON string.

logJson(obj: Object) => void

The object is formatted for easy viewing and displayed in the terminal.

fromJson(obj: Object) => any

Converts imported objects from .json files to JS objects.

Readme

Keywords

Package Sidebar

Install

npm i json-microscope

Weekly Downloads

3

Version

2.0.2

License

MIT

Unpacked Size

4.92 kB

Total Files

6

Last publish

Collaborators

  • tomixy