Package Exports
- js.inspect
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (js.inspect) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Why JS.inspect()?
JS.inspect was made to help inspect objects, strings, sql queries in any system that runs javascript when Debug is not available or is too much intrusive.
- React Native
- browser
- Nodejs
- NativeScript
Demo
How to install?
yarn global add js.inspect
npm i -g js.inspect
Usage
POST
http://localhost:8080/inspect
body application/json
{
"socket_id": "4JLn0IALS0J_sk-2AAAB",
"title": "Random Object List",
"lang": "",
"obj": [
{"id": 1, "name": "AAAAA"},
{"id": 2, "name": "BBBBBB"},
{"id": 3, "name": "CCCCCCC"},
{"id": 4, "name": "DDDDDDD", "age": 20 },
{"id": 4, "age": 33 }
]
}
body application/json
{
"socket_id": "04DF2iK4ghiAjqtaAAAA",
"title": "SQL formatted",
"lang": "sql",
"obj": "select id, name, age from table_name where id > 5 and id < 9"
}