{"_id":"json-stringify-pretty-compact","_rev":"20-fde2d0d86cf95c1f5ac230a1b63bb352","name":"json-stringify-pretty-compact","description":"The best of both `JSON.stringify(obj)` and `JSON.stringify(obj, null, indent)`.","dist-tags":{"latest":"4.0.0"},"versions":{"1.0.0":{"name":"json-stringify-pretty-compact","version":"1.0.0","author":{"name":"Simon Lydell"},"license":"MIT","description":"The best of both `JSON.stringify(obj)` and `JSON.stringify(obj, null, indent)`.","main":"index.js","repository":{"type":"git","url":"https://github.com/lydell/json-stringify-pretty-compact"},"keywords":["JSON","stringify","pretty","print","pretty-print","compact","indent"],"scripts":{"test":"mocha"},"devDependencies":{"mocha":"^2.0.1","chai":"^1.9.2"},"gitHead":"e392dd7b515c4df34fb4b4f0a52c9f90bcc04a88","bugs":{"url":"https://github.com/lydell/json-stringify-pretty-compact/issues"},"homepage":"https://github.com/lydell/json-stringify-pretty-compact","_id":"json-stringify-pretty-compact@1.0.0","_shasum":"3ab1ae3783d4f90b23e24de13cd4aae50a0d5f19","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"lydell","email":"simon.lydell@gmail.com"},"maintainers":[{"name":"lydell","email":"simon.lydell@gmail.com"}],"dist":{"shasum":"3ab1ae3783d4f90b23e24de13cd4aae50a0d5f19","tarball":"https://registry.npmjs.org/json-stringify-pretty-compact/-/json-stringify-pretty-compact-1.0.0.tgz","integrity":"sha512-zW4Nz7vomFRXvMiE+ke4oTseoccQsVRoKQOU26wqwkP6NTLQSMfWrlq5dNnDV5Y8XcgaSpDNh8/5Md5sEJhoWw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICa+DKL5Q509jDyiY66qPK5lO2g9sEYYugq2j1/VBGPFAiEA6vyjcBo93ORypbFWWZ4d+ELMlSS2A7T5qembq1kHMOg="}]},"directories":{}},"1.0.1":{"name":"json-stringify-pretty-compact","version":"1.0.1","author":{"name":"Simon Lydell"},"license":"MIT","description":"The best of both `JSON.stringify(obj)` and `JSON.stringify(obj, null, indent)`.","main":"index.js","repository":{"type":"git","url":"https://github.com/lydell/json-stringify-pretty-compact"},"keywords":["JSON","stringify","pretty","print","pretty-print","compact","indent","format","formatter"],"scripts":{"test":"mocha"},"devDependencies":{"mocha":"^2.0.1","chai":"^1.9.2"},"gitHead":"dff719c8c6e9e2c4e97b666865943f4f442af423","bugs":{"url":"https://github.com/lydell/json-stringify-pretty-compact/issues"},"homepage":"https://github.com/lydell/json-stringify-pretty-compact","_id":"json-stringify-pretty-compact@1.0.1","_shasum":"26a616a0b1a77157f1d5b1a34c0ecbe6e1177715","_from":".","_npmVersion":"2.1.6","_nodeVersion":"0.10.33","_npmUser":{"name":"lydell","email":"simon.lydell@gmail.com"},"maintainers":[{"name":"lydell","email":"simon.lydell@gmail.com"}],"dist":{"shasum":"26a616a0b1a77157f1d5b1a34c0ecbe6e1177715","tarball":"https://registry.npmjs.org/json-stringify-pretty-compact/-/json-stringify-pretty-compact-1.0.1.tgz","integrity":"sha512-LU5g2N/KlH26DeIcdlDSEDeuwba2P7q6j5/EPQIH6SMrstsV3bS2BJI8JhU5hGi0jWVQ1dt4vKGbVUv0jiflzQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCEiOWlgU50yVI11yweeqbX7mNWHnNxJ0POc+Mm9JbHawIhALOsSYz6smTE0vAr2YaxlkBBiD9x4b+uKmb8iHMB4ntQ"}]},"directories":{}},"1.0.2":{"name":"json-stringify-pretty-compact","version":"1.0.2","author":{"name":"Simon Lydell"},"license":"MIT","description":"The best of both `JSON.stringify(obj)` and `JSON.stringify(obj, null, indent)`.","main":"index.js","repository":{"type":"git","url":"git+https://github.com/lydell/json-stringify-pretty-compact.git"},"files":["index.js"],"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"},"devDependencies":{"chai":"^3.5.0","mocha":"^3.0.2","standard":"^8.0.0"},"gitHead":"8ded1472a1a94d3dfa07886ee8e9c52dc5781901","bugs":{"url":"https://github.com/lydell/json-stringify-pretty-compact/issues"},"homepage":"https://github.com/lydell/json-stringify-pretty-compact#readme","_id":"json-stringify-pretty-compact@1.0.2","_shasum":"abe8ae193feb19020dfeec74363be03d65821a31","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"lydell","email":"simon.lydell@gmail.com"},"dist":{"shasum":"abe8ae193feb19020dfeec74363be03d65821a31","tarball":"https://registry.npmjs.org/json-stringify-pretty-compact/-/json-stringify-pretty-compact-1.0.2.tgz","integrity":"sha512-FxvjIUVTcScPQbFyKUUwKO4yI2O6yGD1bsptHopb96FJCe1CX3nbZe5wDL8XSWYtSzMEqL8NBFMd3/xuIpkiCw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCfaZ6Y0aEVyWZcG+Wx81BHhRxsdmh3kFaU0nK0u+21fAIgdgL3XBXpGnbdjeLiTvKJgDqotQg+aMN92Vh4SwSyjK8="}]},"maintainers":[{"name":"lydell","email":"simon.lydell@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/json-stringify-pretty-compact-1.0.2.tgz_1473350764580_0.6148994627874345"},"directories":{}},"1.0.3":{"name":"json-stringify-pretty-compact","version":"1.0.3","author":{"name":"Simon Lydell"},"license":"MIT","description":"The best of both `JSON.stringify(obj)` and `JSON.stringify(obj, null, indent)`.","main":"index.js","repository":{"type":"git","url":"git+https://github.com/lydell/json-stringify-pretty-compact.git"},"files":["index.js"],"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"},"devDependencies":{"chai":"^3.5.0","mocha":"^3.2.0","standard":"^9.0.2"},"gitHead":"d9fa5f743598dce3c007d50d5f41b4720cf0e724","bugs":{"url":"https://github.com/lydell/json-stringify-pretty-compact/issues"},"homepage":"https://github.com/lydell/json-stringify-pretty-compact#readme","_id":"json-stringify-pretty-compact@1.0.3","_shasum":"f7e349404d35f0b3ee07a2f96213f3a1ae9e92f7","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.2.0","_npmUser":{"name":"lydell","email":"simon.lydell@gmail.com"},"dist":{"shasum":"f7e349404d35f0b3ee07a2f96213f3a1ae9e92f7","tarball":"https://registry.npmjs.org/json-stringify-pretty-compact/-/json-stringify-pretty-compact-1.0.3.tgz","integrity":"sha512-+MhbAcx94O+b22E4YrqOAbQX3p55t3E1PAppRjwT2j27u/HW2gQ8POLOv5Dam13DwZOBjReKoNPnolx+TOJe7g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDBOXH5ROeoWtXwt7axG/4GQpylatuemyHw6N/LFQPEgwIgAW3Q9CBoY/Sv/aFbwUsyATOT5/pqZmjwdISq3tqTgPY="}]},"maintainers":[{"name":"lydell","email":"simon.lydell@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/json-stringify-pretty-compact-1.0.3.tgz_1490855015814_0.8736686070915312"},"directories":{}},"1.0.4":{"name":"json-stringify-pretty-compact","version":"1.0.4","author":{"name":"Simon Lydell"},"license":"MIT","description":"The best of both `JSON.stringify(obj)` and `JSON.stringify(obj, null, indent)`.","main":"index.js","repository":{"type":"git","url":"git+https://github.com/lydell/json-stringify-pretty-compact.git"},"files":["index.js"],"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"},"devDependencies":{"chai":"^3.5.0","mocha":"^3.2.0","standard":"^9.0.2"},"gitHead":"cdd041e16368b29d5c6962e42555e42f8ab8b21c","bugs":{"url":"https://github.com/lydell/json-stringify-pretty-compact/issues"},"homepage":"https://github.com/lydell/json-stringify-pretty-compact#readme","_id":"json-stringify-pretty-compact@1.0.4","_shasum":"d5161131be27fd9748391360597fcca250c6c5ce","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.2.0","_npmUser":{"name":"lydell","email":"simon.lydell@gmail.com"},"dist":{"shasum":"d5161131be27fd9748391360597fcca250c6c5ce","tarball":"https://registry.npmjs.org/json-stringify-pretty-compact/-/json-stringify-pretty-compact-1.0.4.tgz","integrity":"sha512-/MV+iOx3ZROugDNqLzLMmpigcKNPBI1JlnCbF3sgIDkKllKXcR/aDfOgHiF2x/zx8MZqv3ZfdnwZFKBWf5EoLA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCuE5N7bSwU24GaEJK2sau/MkNaCzRHnesk9USI6OLoowIgGLGArjm9NAXAWfB1HyNh1K/U9K8WgtP/qPYBp6EXEgo="}]},"maintainers":[{"name":"lydell","email":"simon.lydell@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/json-stringify-pretty-compact-1.0.4.tgz_1493448277773_0.4768994541373104"},"directories":{}},"1.1.0":{"name":"json-stringify-pretty-compact","version":"1.1.0","author":{"name":"Simon Lydell"},"license":"MIT","description":"The best of both `JSON.stringify(obj)` and `JSON.stringify(obj, null, indent)`.","main":"index.js","repository":{"type":"git","url":"git+https://github.com/lydell/json-stringify-pretty-compact.git"},"files":["index.js"],"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"},"devDependencies":{"chai":"^4.1.2","mocha":"^4.1.0","standard":"^10.0.3"},"gitHead":"205e38a199171d4d96459284d0d41e3949220154","bugs":{"url":"https://github.com/lydell/json-stringify-pretty-compact/issues"},"homepage":"https://github.com/lydell/json-stringify-pretty-compact#readme","_id":"json-stringify-pretty-compact@1.1.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.0","_npmUser":{"name":"lydell","email":"simon.lydell@gmail.com"},"dist":{"integrity":"sha512-KlHWclgmjtRCbMdUxCJY8AZAIlJLeH0lu3VO9ocaY5Lndfc24YvCOUe3izrIcA8A53uCNIolAXsxouDOWj5kww==","shasum":"4fa5b898f61a287d64828691baa822a41f3ad5ab","tarball":"https://registry.npmjs.org/json-stringify-pretty-compact/-/json-stringify-pretty-compact-1.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCW9eXnlRUSPHxbbhL31IKDc/R28PrwTdRQX/4/e8j9PgIgMGKf+R0ttpKSKYjPtlxmFWU/rg3S0HMgWLQXzPDaMSc="}]},"maintainers":[{"name":"lydell","email":"simon.lydell@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/json-stringify-pretty-compact-1.1.0.tgz_1515787279615_0.633592565311119"},"directories":{}},"1.2.0":{"name":"json-stringify-pretty-compact","version":"1.2.0","author":{"name":"Simon Lydell"},"license":"MIT","description":"The best of both `JSON.stringify(obj)` and `JSON.stringify(obj, null, indent)`.","main":"index.js","repository":{"type":"git","url":"git+https://github.com/lydell/json-stringify-pretty-compact.git"},"files":["index.js","index.d.ts"],"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"},"devDependencies":{"chai":"^4.1.2","mocha":"^4.1.0","standard":"^10.0.3"},"gitHead":"4dd6aa7631fbc81c03effa51d8d7063cad1ff4b3","bugs":{"url":"https://github.com/lydell/json-stringify-pretty-compact/issues"},"homepage":"https://github.com/lydell/json-stringify-pretty-compact#readme","_id":"json-stringify-pretty-compact@1.2.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"lydell","email":"simon.lydell@gmail.com"},"dist":{"integrity":"sha512-/11Pj1OyX814QMKO7K8l85SHPTr/KsFxHp8GE2zVa0BtJgGimDjXHfM3FhC7keQdWDea7+nXf+f1de7ATZcZkQ==","shasum":"0bc316b5e6831c07041fc35612487fb4e9ab98b8","tarball":"https://registry.npmjs.org/json-stringify-pretty-compact/-/json-stringify-pretty-compact-1.2.0.tgz","fileCount":6,"unpackedSize":7715,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa3NfOCRA9TVsSAnZWagAAVD4P/2tkb4AkEbvWdbSw8vGL\nOZBRQE4bVqiP+TWyd+7lh7HiIsSPHjdZXQ1pzjPAEjua0hTsRYYLPtXl7peX\nKcX36M5uQVMrVL6spuMcmn0CZHOqtmFebO8E+Sgpa1R/dEL7iNgzUQbn4PKb\nTNpIMpAVQmArBiTiA96A2S9Ii8ounHay4EylOlOfAo0rMGBkLlialEy9O4vq\n4zwqd6bf98oP28lI59nyB/FcKO9HwA64ksrQ0wsVQbIbsBwt41Ihm8TpiS8H\n1yVegkwZ+cn+YFgrzNo4mAN/UuOq/3hTabBlDPXizb00Lo7y90wtJSyODbIM\nQGyh5+vLOi7/NJtkrPzN7EbHG8TK8ERTSfYS6SB86dLVCFKk2VoAii6sDi6W\nLAlXwZL4bpliC0xl0HwgF352UMx3lZ2uHUAWK6/PiElsecY2epoDN4ikrIB2\n47443o02idNiXEEjZ9LeUzRTe9u8Swot1xCRuT/KISxGiY8vAw0v5Yg4eTAN\nUO8a2mPWesMxgCaTVvC8iBnGhdVDnfagbQFLTO8pzvQ5ol7+VO0e6/gJhmTB\nsm59u1nEixoq9Vx4bwBgzPW3OEX4wtrT9sobr/QEq52ZiRLXaXCERw/dJT7d\n+LmkP+JfVjveB8i+RAFRRuEelQBdnnM+KvGGqVU+/9aVok8DCzQDD0ZUpYL9\nIZ4p\r\n=p5Sz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICeIYoazE5ivhx/Sn50T0Ikq99np5wBgydufAagGOP9bAiAm2vfOzJpnLz5IcHFwu0tHmgXzzbb3YtJA5/9gXL4k/g=="}]},"maintainers":[{"name":"lydell","email":"simon.lydell@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/json-stringify-pretty-compact_1.2.0_1524422604990_0.22994909187752577"},"_hasShrinkwrap":false},"2.0.0":{"name":"json-stringify-pretty-compact","version":"2.0.0","author":{"name":"Simon Lydell"},"license":"MIT","description":"The best of both `JSON.stringify(obj)` and `JSON.stringify(obj, null, indent)`.","main":"index.js","repository":{"type":"git","url":"git+https://github.com/lydell/json-stringify-pretty-compact.git"},"keywords":["JSON","stringify","pretty","print","pretty-print","compact","indent","format","formatter"],"scripts":{"eslint":"eslint .","eslint:fix":"npm run eslint -- --fix","prettier":"prettier --write \"**/*.{md,ts}\"","jest":"jest","coverage":"jest --coverage","test":"npm run eslint && npm run coverage","prepublishOnly":"npm test"},"devDependencies":{"eslint":"5.13.0","eslint-config-lydell":"13.0.0","eslint-plugin-jest":"22.2.2","eslint-plugin-prettier":"3.0.1","jest":"24.0.0","prettier":"1.16.3"},"gitHead":"29d6f1aa60ca4f706b80148817627d1760f60f5e","bugs":{"url":"https://github.com/lydell/json-stringify-pretty-compact/issues"},"homepage":"https://github.com/lydell/json-stringify-pretty-compact#readme","_id":"json-stringify-pretty-compact@2.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"lydell","email":"simon.lydell@gmail.com"},"dist":{"integrity":"sha512-WRitRfs6BGq4q8gTgOy4ek7iPFXjbra0H3PmDLKm2xnZ+Gh1HUhiKGgCZkSPNULlP7mvfu6FV/mOLhCarspADQ==","shasum":"e77c419f52ff00c45a31f07f4c820c2433143885","tarball":"https://registry.npmjs.org/json-stringify-pretty-compact/-/json-stringify-pretty-compact-2.0.0.tgz","fileCount":6,"unpackedSize":9642,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcVZgcCRA9TVsSAnZWagAA7roP/2KguCV7R5FN36aLX+ry\nGeOa4F+VfulaXNsQ4lI4Ijkm+aPOxVO4Bet7xpQIVbCTryEaciup2mfWNp1Z\nDNZ9yivEVi0n4zv23vMX2sCQgwS7NhzHBhvTHet9zak4iH+KdKS61pW6+Q+f\nO50AeB/6RcAkz4WvytoNaX1PeW0YDvZp6/AUHHkxno4u0B+wHBlIIwSCDxhx\nkystynqa4+ISmXR1huPi2kTBiJtlHMSc1zifIb1rJoSEhnnB9GJgWYtjC1jt\nFXoHCL9F17VOGdYuJ3wxTPibeuWmosruRs5qFeybcBHPRGh1NytHumUpRyCB\nL4IbtNSQMKkJWVgjsCKoQzupPizjtF2NXFmBEz01WEQGgfPKLDlcEZx/UCwk\n/NDwtlDj0uzILb/Kzx7UXzvyx4kfLSohSRWZRTo+nEtcllEFMGl40B83Vc8C\nUN0ubQnoHJ7uIdnRMJTC6wzIvjOUxySF46EOpPEzPdqAWKWsi/rolOAN4xer\nXvBHszLGJQZ62RQ/urGd6MFoOOw+jbr+esPmWfxOAozs4I8YMpn8ythb9/nU\n78mff/LrdRS27ayA1uRqw1kEm+G+JD1Ewv2wI8qoeMljKGfQIaD0jJnRCl1A\nnQekYBbw6rkp81oSHBBAc5Qgv6lgqzm5Nsc2rJ9zafV1WxAyxCSsdu3xFTeh\nfKOF\r\n=GENe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJ8s120sEECBZJlgcn+WjasOwZ/yK0ZKzhfsK1z6oPTAIhANTopk/Pss194WPoYILlLBA3raNx39q8r1Gp+LJGnNdX"}]},"maintainers":[{"name":"lydell","email":"simon.lydell@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/json-stringify-pretty-compact_2.0.0_1549113372071_0.10022697466076536"},"_hasShrinkwrap":false},"3.0.0":{"name":"json-stringify-pretty-compact","version":"3.0.0","author":{"name":"Simon Lydell"},"license":"MIT","description":"The best of both `JSON.stringify(obj)` and `JSON.stringify(obj, null, indent)`.","type":"commonjs","exports":"./index.js","types":"index.d.ts","repository":{"type":"git","url":"git+https://github.com/lydell/json-stringify-pretty-compact.git"},"keywords":["JSON","stringify","pretty","print","pretty-print","compact","indent","format","formatter"],"scripts":{"test":"eslint . --report-unused-disable-directives && prettier --check . && jest --coverage","prepublishOnly":"npm test"},"devDependencies":{"eslint":"7.20.0","eslint-plugin-jest":"24.1.5","jest":"26.6.3","prettier":"2.2.1"},"gitHead":"5810537005be9fec0b15d64edcf49728d26e3776","bugs":{"url":"https://github.com/lydell/json-stringify-pretty-compact/issues"},"homepage":"https://github.com/lydell/json-stringify-pretty-compact#readme","_id":"json-stringify-pretty-compact@3.0.0","_nodeVersion":"14.15.3","_npmVersion":"6.14.9","dist":{"integrity":"sha512-Rc2suX5meI0S3bfdZuA7JMFBGkJ875ApfVyq2WHELjBiiG22My/l7/8zPpH/CfFVQHuVLd8NLR0nv6vi0BYYKA==","shasum":"f71ef9d82ef16483a407869556588e91b681d9ab","tarball":"https://registry.npmjs.org/json-stringify-pretty-compact/-/json-stringify-pretty-compact-3.0.0.tgz","fileCount":6,"unpackedSize":9053,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgMYT2CRA9TVsSAnZWagAA59MP/0FckEic5XK9QH7bhG73\n1bYWP2AZRozqSnJxdWZZY4Zbw8U7O6YaIDwOm8376G8ZoQWRNFiEYB9hxS3f\nrP4iE2Ida8f/OHScgetjh+Rk3CNCfLlMIgu56dhEM3sHfUE96biM8Ojx6H7U\nMKs8bd//XTsLx7KB++JzAiiUXKW274ERXEa14lRQBkaqdi+tew0SvbMjtwlZ\nMHSQmNH/AL803nP7nYcDlV2PGfdOUn9WnQyFtTvG8qX+ZJ/hrVR0Lco4O4N+\nQr+VhzXqffecr2/zhu2T8qCGBOUbyBgv+C+qJzd0Guvi5dVaGcUpTyg4Q7GQ\nRNMzgcYJjujviKPF45NoujJLQIqTOwYB0nDyiMugk5vxTx+Zd3ujq5FZatfH\nEZZwddJwBBbEdysrh5r9uV8GoR3+oK4fzu1ayEfA/q/j8jOi6auXmRcwjek0\nTb2yfzb8KSsYmCStzco413YWcweEOD1i73wA+ZYhveRyFZReAI9g5GU2lOkz\npJD5u8UFbcNLW9iraLJS0RAsWel/L+M0TmrGcN+16axBnYWpNuUoiB4a/fs8\nGSE5xsSsbpMoA7H+eaMdCjhC6/xMe66QaLs9Oin5GTs+NJ7SLeSJ965JUv8g\nMhX0f5Z+yAdcp8U3HmK9E0GpZu7Fti/qz2K+HUNWxqSzzeLayiLpv8vDqMQ/\n6XEa\r\n=OBm1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD6gJIbH/zyLDpaIs8n2NpyxIT6KY6MOgGxQswr32+NggIgQB4ogL246BNMr+dvHrSELq0vdNX5c2cm4c6eNHjmcZU="}]},"_npmUser":{"name":"lydell","email":"simon.lydell@gmail.com"},"directories":{},"maintainers":[{"name":"lydell","email":"simon.lydell@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/json-stringify-pretty-compact_3.0.0_1613858037957_0.6438948907361368"},"_hasShrinkwrap":false},"4.0.0":{"name":"json-stringify-pretty-compact","version":"4.0.0","author":{"name":"Simon Lydell"},"license":"MIT","description":"The best of both `JSON.stringify(obj)` and `JSON.stringify(obj, null, indent)`.","type":"module","exports":"./index.js","types":"index.d.ts","repository":{"type":"git","url":"git+https://github.com/lydell/json-stringify-pretty-compact.git"},"keywords":["JSON","stringify","pretty","print","pretty-print","compact","indent","format","formatter"],"scripts":{"test":"eslint . --report-unused-disable-directives && prettier --check . && node --test","prepublishOnly":"npm test"},"devDependencies":{"eslint":"8.15.0","prettier":"2.6.2"},"gitHead":"4001a1217b358f1d2aff2654fe1593d62d131195","bugs":{"url":"https://github.com/lydell/json-stringify-pretty-compact/issues"},"homepage":"https://github.com/lydell/json-stringify-pretty-compact#readme","_id":"json-stringify-pretty-compact@4.0.0","_nodeVersion":"18.1.0","_npmVersion":"8.8.0","dist":{"integrity":"sha512-3CNZ2DnrpByG9Nqj6Xo8vqbjT4F6N+tb4Gb28ESAZjYZ5yqvmc56J+/kuIwkaAMOyblTQhUW7PxMkUb8Q36N3Q==","shasum":"cf4844770bddee3cb89a6170fe4b00eee5dbf1d4","tarball":"https://registry.npmjs.org/json-stringify-pretty-compact/-/json-stringify-pretty-compact-4.0.0.tgz","fileCount":5,"unpackedSize":7412,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCUY+B+qSk71BAA5MwTGkeTMtdAjYmxQMuicURMZGMeBQIhAOXGijZt2lTmLfw1Y7jzGxqjDPwLWSt84zVf8WkxjBA+"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJigCBaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpLHw/+NiCoLJ+IIsc091y5UZc4Ia5sQ1vv3VVzGbzqDdWZi0xq1OTI\r\nQvfGTvwh8sflR8VOgnH5HeFNx+W+zqCwC6WFQwhuMH+3nwgb+d0bhUC0hv+Q\r\nQ6NpD33sMCw0zzgr9QQYZEy9iIl0MvknjfQUK5DkqVq2BlAr3OG5qUALCEnW\r\nAjM9A4fQoXTe0gt1RdQRNd2kizNC4RbCVVZP9YJJ1dL66h4FXGElUx3pN+tp\r\ndvURu09NHeqz6npDqXr2KINAkPLVnQputBSkbjSWFH/rQgMOtcF1WctQ6ntK\r\nvaj/D3YFCW3+Ua45PEU1j8Jiyr5uVN8dFmAoxh5pzAPjc7erkhB01RlDWfHb\r\ncqzcTZ4/d7vJiuXVjIYSs0/eYtyYnZY+Vv8+n9CJQt7IZAnpjNkw4RfPEnDj\r\n5Y1UwQV6ETpOc+AGoG7D2ML6xfVl1UbeM/VcAzDRK/jWZpXJ7r/R7mzyLUJA\r\nQJ8IfLAul+YTCVr4BNP6Rj9SWVpmQRyS0WCLRQcOiqPr8+Kb+YeCRue0s/Td\r\nBgP3ppTCLht22YN3/NyC3+SqHJA0GfOlWAOxxs7btwpvjEd6+RVoCbAEN0A9\r\nKVvibpmdU4SFvhVAhkp2MMBYqkUVtfdJdIbY9Hu+qc1yG8/RrvNs96qBrMaQ\r\nICfKSRaiFhjXlqkNC0nEnXS/Nyt64uzHsx0=\r\n=0QPI\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"lydell","email":"simon.lydell@gmail.com"},"directories":{},"maintainers":[{"name":"lydell","email":"simon.lydell@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/json-stringify-pretty-compact_4.0.0_1652564058220_0.9888728988243947"},"_hasShrinkwrap":false}},"readme":"# json-stringify-pretty-compact\n\nThe output of [JSON.stringify] comes in two flavors: _compact_ and _pretty._ The former is usually too compact to be read by humans, while the latter sometimes is too spacious. This module trades performance for a compromise between the two. The result is a _pretty_ compact string, where “pretty” means both “kind of” and “nice”.\n\n<!-- prettier-ignore -->\n```json\n{\n  \"bool\": true,\n  \"short array\": [1, 2, 3],\n  \"long array\": [\n    {\"x\": 1, \"y\": 2},\n    {\"x\": 2, \"y\": 1},\n    {\"x\": 1, \"y\": 1},\n    {\"x\": 2, \"y\": 2}\n  ]\n}\n```\n\nWhile the “pretty” mode of [JSON.stringify] puts every item of arrays and objects on its own line, this module puts the whole array or object on a single line, unless the line becomes too long (the default maximum is 80 characters). Making arrays and objects multi-line is the only attempt made to enforce the maximum line length; if that doesn’t help then so be it.\n\n## Installation\n\n```\nnpm install json-stringify-pretty-compact\n```\n\n```js\nimport stringify from \"json-stringify-pretty-compact\";\n```\n\n> **Note:** This is an [ESM only package]. (I haven’t written that gist, but it’s a great resource.)\n>\n> If you need CommonJS, install version 3.0.0. You won’t be missing out on anything: This package is _done._ No more features will be added, and no bugs have been found in years.\n\n## `stringify(obj, options = {})`\n\nIt’s like `JSON.stringify(obj, options.replacer, options.indent)`, except that objects and arrays are on one line if they fit (according to `options.maxLength`).\n\n`options`:\n\n- indent: Defaults to 2. Works exactly like the third parameter of [JSON.stringify].\n- maxLength: Defaults to 80. Lines will be tried to be kept at maximum this many characters long.\n- replacer: Defaults to undefined. Works exactly like the second parameter of [JSON.stringify].\n\n`stringify(obj, {maxLength: 0, indent: indent})` gives the exact same result as `JSON.stringify(obj, null, indent)`. (However, if you use a `replacer`, integer keys might be moved first.)\n\n`stringify(obj, {maxLength: Infinity})` gives the exact same result as `JSON.stringify(obj)`, except that there are spaces after colons and commas.\n\n**Want more options?** Check out [@aitodotai/json-stringify-pretty-compact]!\n\n## License\n\n[MIT](LICENSE).\n\n[@aitodotai/json-stringify-pretty-compact]: https://www.npmjs.com/package/@aitodotai/json-stringify-pretty-compact\n[json.stringify]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify\n[esm only package]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c\n","maintainers":[{"name":"lydell","email":"simon.lydell@gmail.com"}],"time":{"modified":"2022-06-19T06:27:32.451Z","created":"2014-11-01T10:31:03.392Z","1.0.0":"2014-11-01T10:31:03.392Z","1.0.1":"2014-11-03T19:45:18.225Z","1.0.2":"2016-09-08T16:06:05.866Z","1.0.3":"2017-03-30T06:23:37.713Z","1.0.4":"2017-04-29T06:44:38.386Z","1.1.0":"2018-01-12T20:01:20.568Z","1.2.0":"2018-04-22T18:43:25.058Z","2.0.0":"2019-02-02T13:16:12.250Z","3.0.0":"2021-02-20T21:53:58.133Z","4.0.0":"2022-05-14T21:34:18.394Z"},"homepage":"https://github.com/lydell/json-stringify-pretty-compact#readme","keywords":["JSON","stringify","pretty","print","pretty-print","compact","indent","format","formatter"],"repository":{"type":"git","url":"git+https://github.com/lydell/json-stringify-pretty-compact.git"},"author":{"name":"Simon Lydell"},"bugs":{"url":"https://github.com/lydell/json-stringify-pretty-compact/issues"},"license":"MIT","readmeFilename":"README.md","users":{"brugnara":true,"farskipper":true,"nilslikestacos":true,"bplok20010":true,"sopepos":true}}