@aitodotai/json-stringify-pretty-compact
Version:
The best of both `JSON.stringify(obj)` and `JSON.stringify(obj, null, indent)`.
40 lines (39 loc) • 853 B
JSON
{
"name": "@aitodotai/json-stringify-pretty-compact",
"version": "1.3.0",
"author": "Simon Lydell and Aito Intelligence",
"license": "MIT",
"description": "The best of both `JSON.stringify(obj)` and `JSON.stringify(obj, null, indent)`.",
"main": "index.js",
"repository": "AitoDotAI/json-stringify-pretty-compact",
"files": [
"index.js",
"index.d.ts"
],
"publishConfig": {
"access": "public"
},
"keywords": [
"JSON",
"stringify",
"pretty",
"print",
"pretty-print",
"compact",
"indent",
"format",
"formatter"
],
"scripts": {
"lint": "standard",
"unit": "mocha --ui tdd",
"test": "npm run lint && npm run unit",
"publish": "np --no-yarn"
},
"devDependencies": {
"chai": "^4.1.2",
"mocha": "^4.1.0",
"np": "^4.0.2",
"standard": "^10.0.3"
}
}