Package Exports
- @putout/formatter-json
- @putout/formatter-json/lib/json.js
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 (@putout/formatter-json) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@putout/formatter-json 
JSON is a syntax for serializing
objects,arrays,numbers,strings,booleans, andnull. It is based upon JavaScript syntax but is distinct from it: some JavaScript is not JSON.(c) MDN
🐊Putout formatter outputs JSON, when done.
Install
npm i putout @putout/formatter-jsonUsage
putout --format json libResult example:
{
"errors": [{
"name": "/home/coderaiser/putout/packages/putout/lib/putout.js",
"places": [{
"rule": "remove-debugger",
"message": "Unexpected \"debugger\" statement",
"position": {
"line": 3,
"column": 0
}
}]
}],
"filesCount": 1,
"errorsCount": 1
}License
MIT