{"_id":"guess-json-indent","_rev":"10-07d4381a5b50c5e6976851cfc264c9e4","name":"guess-json-indent","dist-tags":{"latest":"3.0.1"},"versions":{"1.0.0":{"name":"guess-json-indent","version":"1.0.0","keywords":["algorithm","detection","heuristic-algorithm","heuristics","indent","indentation","javascript","json","length","library","newline","nodejs","parsing","serialization","size","space","string","tabs","typescript","whitespace"],"author":{"url":"https://github.com/ehmicky","name":"ehmicky","email":"ehmicky@gmail.com"},"license":"Apache-2.0","_id":"guess-json-indent@1.0.0","maintainers":[{"name":"ehmicky","email":"ehmicky@gmail.com"}],"homepage":"https://www.github.com/ehmicky/guess-json-indent","bugs":{"url":"https://github.com/ehmicky/guess-json-indent/issues"},"dist":{"shasum":"d78dae61c41d7f7a5cd37ba90bcc02af6df6b8fa","tarball":"https://registry.npmjs.org/guess-json-indent/-/guess-json-indent-1.0.0.tgz","fileCount":6,"integrity":"sha512-CWUWivi880+bqXqLxI6A0fbUOut18A6CgM9FzL5q+Q2oB+WE743G5PKg0AGkAGQz1sUWdVGpG+Wvpt+ZU3WAmg==","signatures":[{"sig":"MEUCIQCIIUKmhwShBcNUeFWSfnvWd6+NT70FkWFEyfzHtcxQAwIgNXXxERh21t3kOv9UNrqXcRiotBMFqOlrGtFGROMRrig=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24493,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi9AlRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq0BA/9FX+1GEfCJXaWQsGRdCO3/lqy4ckdsCE83aYS3vvE7HhitR66\r\naQMKKvFin9XHDa0qLIIbBi8V5ZXpQCwIXOIzBogdfz7l+QgvNBHEhe0/cH4x\r\n/fXvMH1nQ+ib4n2CDmZwPzyKh6TiQYa7J0sbPbOVZ/HnR7ZBUSwRwtW3XPeP\r\nrDJdARymNp9xx1beZ2aKbYanTMy+hlJWHi2rsHmj2Vx03kMdNSDFV9TVETm1\r\nExeOf5RrFHxXq7IS02XE3d7DuE9dE5BOEPPH6tYlPGkoEKJDxVFCT2zIhJVe\r\nv4m6gQAwrgclkvBqdSB0yeGCfPtq2pho5IfQfFpS/VaNWWuq5Eb8/kr0hYBk\r\nIiZYp83BUkr7SsO/d9/mDjjLLxaFLYHEyv0Ar2RT7fNvjzLavMcHxN1R3WNu\r\neKc+zeYbqTBQn2eghtJoL4oZaFUfFNbPiCynkRukqPFepePmuEkIeNfzm+sy\r\nFrdluDDO5BHsremVmpuIJUCUb477YXZt9agtdfGrZ2raHk6ko6BHin25kRlK\r\nmkkdjxexSN/TWHyYsU1qTqCef/Ef4t9MMsCiYlWxMDr85cLnG9XN31SGlTBo\r\njMJzSKvI4FvwiQnnIL4w6SIM7Qhx0l7DzaZQxdkqWKVyCQVNUxNGBY6tk7tu\r\nz3xZRqxB8pwdgUd2WN8bLDwD1/GC6FsuGQ8=\r\n=FJ9b\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./build/src/main.js","type":"module","types":"./build/src/main.d.ts","engines":{"node":">=14.18.0"},"exports":"./build/src/main.js","gitHead":"dd7be26d9df8f5dfcf8070b7d77e0be411a31365","scripts":{"test":"gulp test"},"_npmUser":{"name":"ehmicky","email":"ehmicky@gmail.com"},"repository":{"url":"git+https://github.com/ehmicky/guess-json-indent.git","type":"git"},"_npmVersion":"8.16.0","description":"Guess the indentation of a JSON string","directories":{"lib":"src","test":"test"},"_nodeVersion":"18.7.0","_hasShrinkwrap":false,"devDependencies":{"spyd":"^0.5.0","test-each":"^5.1.1","detect-indent":"^7.0.0","@ehmicky/dev-tasks":"^1.0.84","detect-indentation":"^5.20.0","detect-json-indent":"^0.0.3"},"_npmOperationalInternal":{"tmp":"tmp/guess-json-indent_1.0.0_1660160337460_0.4997727158882719","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"guess-json-indent","version":"1.1.0","keywords":["algorithm","detection","heuristic-algorithm","heuristics","indent","indentation","javascript","json","length","library","newline","nodejs","parsing","serialization","size","space","string","tabs","typescript","whitespace"],"author":{"url":"https://github.com/ehmicky","name":"ehmicky","email":"ehmicky@gmail.com"},"license":"Apache-2.0","_id":"guess-json-indent@1.1.0","maintainers":[{"name":"ehmicky","email":"ehmicky@gmail.com"}],"homepage":"https://www.github.com/ehmicky/guess-json-indent","bugs":{"url":"https://github.com/ehmicky/guess-json-indent/issues"},"dist":{"shasum":"582faac90158dd9c363b529ff43459120028b1da","tarball":"https://registry.npmjs.org/guess-json-indent/-/guess-json-indent-1.1.0.tgz","fileCount":6,"integrity":"sha512-Gl2vRzIWs4f6+w2bVETYnio+9ZG3StsMjsGG5BJbfrX0XwcuLAlULmbIoPtab+OXjqHiuM3jH4ye0IAvBK13Tg==","signatures":[{"sig":"MEUCIQDp0k1owdB4qoE7XbgRPsX+Q7vdP/Zd0YEKCRaH3STbZQIgPPC2l3uHR5PRWGbcypnm+FLD1Ll+UYk7IMIJ0duTbYQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24493,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi9AmUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrtNg/+IeXPXIB+IwLqIhgfuig7Nw+RfhRZciN4RjC2y69RlNpUx/E4\r\nCSg/jFo0Ue/KhwZmvbCc56Xi/9JCtujQN+QTZuhP/scgONG6TYgqXk6wxZqh\r\nIEcQnzifO2pfRoyVDO5p4OUfYLtRFDphOSoLZtLwPoq9Qw8aD2m4jpbaAzMD\r\noiivhFb1iDfuWD4xG1Qrjf83Ah8U5tM0iTvaNhOVk7vFMvCzu2UbGKTUmpm8\r\nLSGmIY/tv8u/OMStBAIKT9wIxcpq/eF7+fryl8N2xpRed9azn9P6zgMScL8q\r\nvgFSK4migXXIyCF7YT4+5SdPUUWMXulBBnvIOsya2qsfPIqQUUhiwvcKOFyW\r\n68cf4pqQx79GHFPTakX/sr8p7YOjKB1pPefTDTayq8Mh8SNyTmS60Q/O5UGy\r\n7MjvXVp0z0e4E8MYpqrbISkz4GKhbQ3iHummZTevdYMovoiBYViG8hHQzSET\r\nuq7fqx4jJsyoOcLUjjFgvVb8+H8zn15aYI7keslBn9/bGSAo3tdexG4spFGw\r\nVc3yEp/WkkcpoCifx2jgenQMUUw/GcB3Iceg77dUMMSPjNCNEO4COrcJccbQ\r\njMq1mUUIAlK7Jvl58GsTaDVXOZBFeGKEXoDdYtYfdosYS0PQe3q8LNXafWU5\r\nekxbmLZ8S8Sn+MxbrYvBweAwuCeN0bndOlc=\r\n=vReL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./build/src/main.js","type":"module","types":"./build/src/main.d.ts","engines":{"node":">=14.18.0"},"exports":"./build/src/main.js","gitHead":"afac7c92eec055f12681306b270511b718f60b65","scripts":{"test":"gulp test"},"_npmUser":{"name":"ehmicky","email":"ehmicky@gmail.com"},"repository":{"url":"git+https://github.com/ehmicky/guess-json-indent.git","type":"git"},"_npmVersion":"8.17.0","description":"Guess the indentation of a JSON string","directories":{"lib":"src","test":"test"},"_nodeVersion":"18.7.0","_hasShrinkwrap":false,"devDependencies":{"spyd":"^0.5.0","test-each":"^5.1.1","detect-indent":"^7.0.0","@ehmicky/dev-tasks":"^1.0.84","detect-indentation":"^5.20.0","detect-json-indent":"^0.0.3"},"_npmOperationalInternal":{"tmp":"tmp/guess-json-indent_1.1.0_1660160403830_0.676007432995521","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"guess-json-indent","version":"1.2.0","keywords":["algorithm","detection","heuristic-algorithm","heuristics","indent","indentation","javascript","json","length","library","newline","nodejs","parsing","serialization","size","space","string","tabs","typescript","whitespace"],"author":{"url":"https://github.com/ehmicky","name":"ehmicky","email":"ehmicky@gmail.com"},"license":"Apache-2.0","_id":"guess-json-indent@1.2.0","maintainers":[{"name":"ehmicky","email":"ehmicky@gmail.com"}],"homepage":"https://www.github.com/ehmicky/guess-json-indent","bugs":{"url":"https://github.com/ehmicky/guess-json-indent/issues"},"dist":{"shasum":"492b1ae57d747c71c7d21b369ff9d514fec4c1f1","tarball":"https://registry.npmjs.org/guess-json-indent/-/guess-json-indent-1.2.0.tgz","fileCount":5,"integrity":"sha512-KL0pV6ij/hIf9SDNIXvU+6L1y0Cp8dwaz72mCUXulQcxxP3Ok6DcN7EPtaZ3Y/c7JV704Mvh2xHolpwx5yJPKw==","signatures":[{"sig":"MEUCIQDNcjglRwBX+KvAHMQhK6/DYPbczJ7E3D6+K3NEnG/5zgIgQxK7z+xg+I5RsQQvXz7b2UuqWIwfym8EO99+LFe60ao=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20330,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi++wsACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrz0w//XRZHXWPnrkHwIo3RMNbIfsiLgxdLkJ6IpYtdIGt6dSciswDj\r\nrPmJgM0x37d0QQXLtmhrsPG/JYDqv6QIQIW1mjWxQSZI01jt3e+YVa+amWOo\r\nzNYEei8cbr0Pxsjj5RqaPrACvI5eyGOTMd2XfLojWUtaFcr5k9NGVinI5vqL\r\nxpkoCzbmWsoiCxhi9pd2AsapzUZR/4r3FiRBKLlGaln+6W2hZb7cdX7WjWEx\r\nUFQIwkM7Mg4IPz+dPP6hfNmFKkDNNOVucfbBldurjR+PgRcXor55IEX54O4c\r\nTJ6VBoDk3Fce6WLqGp5c4GyIxC1jdy2LOjKmRpME0UYw7Bjcegy7kJ+3+Tze\r\nCqHzWIWptrL/ABwzsNDXVqoMeBQjIMRoFSz54+ItH4j3YVYsOjt9RJclM9T/\r\n8BV+kslauzJJkgev3dn5Jmr18QpQahXK/ESIlnpkla1O90IPgc0Ho9s4ayp+\r\nhSlsZgvoa3zLrTtUq/QXHjISFvqS9YK/sA8F+LsPpdVeNJOFmwlWQ8MSKmir\r\nLwJ36597mT6CVgyolVEb8y/B7rvT3+yjQmC3Be/cy1cGhqQNiBh0g3ShjUs0\r\n/WrluFDY8Srj9OPNZvi8oLaRqo5UlXWKIGOQJFV48OI4+mM8zUFJyoMuGoD5\r\nNd6bumhAJ7XQNjtrnfKicZPkAujf5+YYkec=\r\n=ufzZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./build/src/main.js","type":"module","types":"./build/src/main.d.ts","engines":{"node":">=14.18.0"},"exports":"./build/src/main.js","gitHead":"de695f7bc77adc35ec8a94c732f0c1eccd13ced2","scripts":{"test":"gulp test"},"_npmUser":{"name":"ehmicky","email":"ehmicky@gmail.com"},"repository":{"url":"git+https://github.com/ehmicky/guess-json-indent.git","type":"git"},"_npmVersion":"8.17.0","description":"Guess the indentation of a JSON string","directories":{"lib":"src","test":"test"},"_nodeVersion":"18.7.0","_hasShrinkwrap":false,"devDependencies":{"spyd":"^0.5.0","test-each":"^5.2.0","detect-indent":"^7.0.0","@ehmicky/dev-tasks":"^1.0.84","detect-indentation":"^5.20.0","detect-json-indent":"^0.0.3"},"_npmOperationalInternal":{"tmp":"tmp/guess-json-indent_1.2.0_1660677164613_0.4939046362610462","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"guess-json-indent","version":"1.3.0","keywords":["algorithm","detection","heuristic-algorithm","heuristics","indent","indentation","javascript","json","length","library","newline","nodejs","parsing","serialization","size","space","string","tabs","typescript","whitespace"],"author":{"url":"https://github.com/ehmicky","name":"ehmicky","email":"ehmicky@gmail.com"},"license":"Apache-2.0","_id":"guess-json-indent@1.3.0","maintainers":[{"name":"ehmicky","email":"ehmicky@gmail.com"}],"homepage":"https://www.github.com/ehmicky/guess-json-indent","bugs":{"url":"https://github.com/ehmicky/guess-json-indent/issues"},"dist":{"shasum":"f2aff2739a387ab3e1ae8483e037fea71d74793d","tarball":"https://registry.npmjs.org/guess-json-indent/-/guess-json-indent-1.3.0.tgz","fileCount":5,"integrity":"sha512-sbvABXWvTs18ln4etPrG0NGtPyYYnb3uzZdy5PjnELs+d5obTcMS8QEB+rBxCNdW5s6mfKH80skRJ6ZLy2Paow==","signatures":[{"sig":"MEUCIDfWB+U+9zjNmj27UkSG27B+BECGzskRAv//VfQvgc+yAiEAlCaaJTX86pjt3/G9EF2zrt8sXcOsPtCsOUMAEX1UJAc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10065,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjSFt0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrnEg//SSmnHWYYk4Ho9mVtA6HU/SSLzWcF/cqAXng7KhqSW3YfbldI\r\nF8GRGqUJv68C2RLkSSNBl5Uc4gb3NphvqH4LKp4f3HM2k4qsTfU7sM4NM7MB\r\nTzEA7sllToh0farv0t4INvYb0rPYjtHA44gQhCVB6szoECLMvm43ubstwV50\r\nSyrRuxHyCLe0tp7RU/QeR1oiUMlN2p3CTj6Fw1fNH4AvkeghgGiimahkSrYx\r\nNio+cTVMljefe7RePynGBTTbT7x4VC74n0ICrw8J7dVmaxF/3DSHiZ6Jqivp\r\nun3Oh3slB0tOwdbtohMVlVneprr3US4zIfdRniHaFFs+pDLGOnkVCCsXs8tY\r\nAMx8yMcqg8hxNNsRgqVNXkfp6CfdBKKd6UGtDSCiRVbxSNczv78m+y+c225r\r\nYMjyxNQ51xIdmWbmpwXlUzGpdfQpLPqQxjwbLHCJ5x8X599oSc6GsNN8PbNW\r\nu4wPs1U1x5hXw97qSJJ2Id5RKxZVgxpaVsx9+l2veNafn5/vkQpWl1dSf3jA\r\npHTOgKBkf/JYRArm8BkSORVVwXDfyVuRZWE3hjeUgZhL2BypF5LmhOyV1QS7\r\nL//RzWMdccfm8WAoUYSLa2VQUppsE0XuyRyD4WDjDTncSnrX2kAblpBBdw+S\r\n7uQIjLSShgTK7GYcunF3PUi+db8FqaT+a5Y=\r\n=2qpf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./build/src/main.js","type":"module","types":"./build/src/main.d.ts","engines":{"node":">=14.18.0"},"exports":"./build/src/main.js","gitHead":"1b7fbd28d5b185b11bcf0ae0c7f1ead81a4302bd","scripts":{"test":"gulp test"},"_npmUser":{"name":"ehmicky","email":"ehmicky@gmail.com"},"repository":{"url":"git+https://github.com/ehmicky/guess-json-indent.git","type":"git"},"_npmVersion":"8.19.2","description":"Guess the indentation of a JSON string","directories":{"lib":"src","test":"test"},"_nodeVersion":"18.10.0","_hasShrinkwrap":false,"devDependencies":{"spyd":"^0.6.0","test-each":"^5.4.1","detect-indent":"^7.0.0","@ehmicky/dev-tasks":"^1.0.94","detect-indentation":"^5.20.0","detect-json-indent":"^0.0.3"},"_npmOperationalInternal":{"tmp":"tmp/guess-json-indent_1.3.0_1665686387952_0.6335525774732518","host":"s3://npm-registry-packages"}},"1.3.1":{"name":"guess-json-indent","version":"1.3.1","keywords":["algorithm","detection","heuristic-algorithm","heuristics","indent","indentation","javascript","json","length","library","newline","nodejs","parsing","serialization","size","space","string","tabs","typescript","whitespace"],"author":{"url":"https://github.com/ehmicky","name":"ehmicky","email":"ehmicky@gmail.com"},"license":"MIT","_id":"guess-json-indent@1.3.1","maintainers":[{"name":"ehmicky","email":"ehmicky@gmail.com"}],"homepage":"https://www.github.com/ehmicky/guess-json-indent","bugs":{"url":"https://github.com/ehmicky/guess-json-indent/issues"},"dist":{"shasum":"1bd5f8b8b7ec43078ac037aa580847c7ca036cca","tarball":"https://registry.npmjs.org/guess-json-indent/-/guess-json-indent-1.3.1.tgz","fileCount":5,"integrity":"sha512-QPFhWOk1N29Vwes/zf+zsyVV/jRv7uWAizeTiOGHwVZCn5hMqGIMKFsmxeXCYWEZGJhVrxEAxeWdTEwkruk5YA==","signatures":[{"sig":"MEQCIFZa1TTY3uetsZ8iHtff5/QOcWbjCs6dZtSSorW/9SZxAiArxCy1ra6WuxVx8Eww70vlIgRKAGJKEvlzbL71d43sfQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10058,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjSG3EACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmosQxAAhb5hh11ztkC78Ct/RWkiSn88mny1YwYeLte3PySfdL/Kz9yZ\r\nM9KSBML//ntO/CHNPLmMzTWr6JU4NQ+j7AbjBbiQBK8rQH8hMkcebKq/DxjN\r\nbyc37T4vGHzaT+vzli0emXpFZAJm1HPQs65MtXOXx7rqjNWerbIWj40agnxx\r\neJGyalf9l8x6e/uXoFDw/s8GcRp+zaxbsO8Avgsr8sde1Wpn4ENudixKYzcC\r\nVrowDw0vX3qVMfm8KJaYHwIdZM7Shw+RCCCOCf3IkboRbYIXUu/YU5Q4ltcb\r\n18mRo5+oPqDDcAa16MQEjj1nDlFuErW4XKEd4shqRvW2UGA6WSOmiTQll61q\r\nJ2mrvQiRx7FeXW56uBcdky0sl+E2jHhG6e/9rParAZu1wOcSPClQyP026ztm\r\nxbZeAMR38/Vr3/fEDNW24WyKngMcil3gNVuiSuXwBphz/DwndbupGoXaIZKn\r\nx6AAxAFx6TGVykqLjYUoDRI13GAmizqMuUyMBVDU/EwCvh7m+5QWVFwqwMun\r\nFqnsv7q363NPqO0VFLmfLsEgqR2BTH+1fyPf+weBvs/TBDe3N3RhPtYhtvjT\r\n8F/5U4uPjKgUBBJXVYE2+gWXqnYaP1uYXEkkIQq6RiHAQHGPtNO0T4BAUkbT\r\n5fWWCFHNBeLWwLNTyB8pFGcVimH20eQgxNs=\r\n=KBnp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./build/src/main.js","type":"module","types":"./build/src/main.d.ts","engines":{"node":">=14.18.0"},"exports":"./build/src/main.js","gitHead":"3ad9266c0314dcd9ccf3a74b4bbeee558d336334","scripts":{"test":"gulp test"},"_npmUser":{"name":"ehmicky","email":"ehmicky@gmail.com"},"repository":{"url":"git+https://github.com/ehmicky/guess-json-indent.git","type":"git"},"_npmVersion":"8.19.2","description":"Guess the indentation of a JSON string","directories":{"lib":"src","test":"test"},"_nodeVersion":"18.10.0","_hasShrinkwrap":false,"devDependencies":{"spyd":"^0.6.0","test-each":"^5.4.1","detect-indent":"^7.0.0","@ehmicky/dev-tasks":"^1.0.94","detect-indentation":"^5.20.0","detect-json-indent":"^0.0.3"},"_npmOperationalInternal":{"tmp":"tmp/guess-json-indent_1.3.1_1665691076218_0.11710377366530067","host":"s3://npm-registry-packages"}},"1.4.0":{"name":"guess-json-indent","version":"1.4.0","keywords":["algorithm","detection","heuristic-algorithm","heuristics","indent","indentation","javascript","json","length","library","newline","nodejs","parsing","serialization","size","space","string","tabs","typescript","whitespace"],"author":{"url":"https://github.com/ehmicky","name":"ehmicky","email":"ehmicky@gmail.com"},"license":"MIT","_id":"guess-json-indent@1.4.0","maintainers":[{"name":"ehmicky","email":"ehmicky@gmail.com"}],"homepage":"https://www.github.com/ehmicky/guess-json-indent","bugs":{"url":"https://github.com/ehmicky/guess-json-indent/issues"},"dist":{"shasum":"88088fba69e3457f03111cec2e2955a174b19239","tarball":"https://registry.npmjs.org/guess-json-indent/-/guess-json-indent-1.4.0.tgz","fileCount":5,"integrity":"sha512-K0tqa+lXKcqUrbUrazIGZgQeD1PLB9/SpLc2S51NsbiUx4duxJ8ig0iAEmB2YUKgg6MxCwls6DrXsV6/0AjHVg==","signatures":[{"sig":"MEUCIQD+xfmjSECA1HD1hgP7I3gR4RwkYYaULLDyj/0Vvn9+RwIgRaD2Wg2MWc49qLeh4HBekP1m7uvHLSM/x729/QqtlBE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10496,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjaYSZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmratxAAmn8FokEUI1/3Z6tqThhaPMejOy7uZnPdJv+vfA51k+2FH+yN\r\n+8uUTJy13wb5WNUZ/1BzVp8PpPfh/eyqn9lFooxPkcOpajcHKjHR6oX4B2qa\r\nHKzO97eMc8MeI9rZ3ODkVkN+B5mG16+2R82qSWXzljHzvDujB0K67dUWHyu5\r\njo+/EaRLCwyJIZwNblk8oMKIYaJ/hvI1t02FLIlWo+ek8wDq6N0e+YHrG0eZ\r\nF2Lvcp/tj1P2XD1ev4vzcW3ArGnHFxAqQ992ZqBZNTeYFYcFckBTnK5hY0pY\r\ntu5W+ZBevKTdQUuOuAk5hCIBt3ul553JQogMPXPSeAXdbjgzRYjfZbO+UJaq\r\niiTvLafqE3Xw62ElLe+26qctKL+DKAD+OnjDOVWyTPbfzFcZGZUpwapzO2G6\r\nEJk4C5N8U0hiJ0h0gUrLXBdFkqxG8O2jfEacbT0RaJlIaAJCDT1yNwMaBmW1\r\nwR2qssDJnRNz/7dMUfZrCar43qTsSTcVfCcIWbAOojPUbC/hqxbgkM4cfZ/g\r\nljmEIi2he5wFU8MTdAFCc9ggRwGiT96PP3ZYlNVlEklZ8LSum+mXVivUhp8V\r\n1StAP1FwXcTlkdSVF5RioThq/WunT8j2wnxjK07le0+6tSlIyDq2ZsoUfvWq\r\n3B8cUJbm7+71Tz9kGerdSdrwGOSfrSx8sMc=\r\n=4xlM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./build/src/main.js","type":"module","types":"./build/types/main.d.ts","engines":{"node":">=14.18.0"},"exports":{"types":"./build/types/main.d.ts","default":"./build/src/main.js"},"gitHead":"e3e620f8edf36306bdbed5b9ace6d8270b105cd7","scripts":{"test":"gulp test"},"_npmUser":{"name":"ehmicky","email":"ehmicky@gmail.com"},"repository":{"url":"git+https://github.com/ehmicky/guess-json-indent.git","type":"git"},"_npmVersion":"8.19.3","description":"Guess the indentation of a JSON string","directories":{"lib":"src","test":"test"},"_nodeVersion":"19.0.1","_hasShrinkwrap":false,"devDependencies":{"spyd":"^0.6.0","test-each":"^5.5.0","detect-indent":"^7.0.0","@ehmicky/dev-tasks":"^1.0.99","detect-indentation":"^5.20.0","detect-json-indent":"^0.0.3"},"_npmOperationalInternal":{"tmp":"tmp/guess-json-indent_1.4.0_1667859609758_0.3526642359798402","host":"s3://npm-registry-packages"}},"1.5.0":{"name":"guess-json-indent","version":"1.5.0","keywords":["algorithm","detection","heuristic-algorithm","heuristics","indent","indentation","javascript","json","length","library","newline","nodejs","parsing","serialization","size","space","string","tabs","typescript","whitespace"],"author":{"url":"https://github.com/ehmicky","name":"ehmicky","email":"ehmicky@gmail.com"},"license":"MIT","_id":"guess-json-indent@1.5.0","maintainers":[{"name":"ehmicky","email":"ehmicky@gmail.com"}],"homepage":"https://www.github.com/ehmicky/guess-json-indent","bugs":{"url":"https://github.com/ehmicky/guess-json-indent/issues"},"dist":{"shasum":"3421c1c31fe1ca47b25b5100c93f2353f8b3b8ab","tarball":"https://registry.npmjs.org/guess-json-indent/-/guess-json-indent-1.5.0.tgz","fileCount":5,"integrity":"sha512-Lxk6NiGPsXgvv595qzeN9E75zwUiFssiooHGfVOMNzHUQQbZ9EhyvlGCpIxHqB7d0rnJ9oeDC5uzqfyILrNtpg==","signatures":[{"sig":"MEYCIQC54XbKo0mpYBC8QqcwZeP3Hb5NeXZp+QvNh7kfdILRXQIhALYDhYz4yWrsrtyNFAy3ZeHTPr2AlYSir3KvbzLDyGU5","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10610,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjbpSQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp41g//fEDVs1U0+ebcq1JZDvJCP13D3QHnSgNh7nJmi/a8ekfbFqBx\r\nUlBjhH0HTB2uN+jRjRhSTAVbHHbw228kiIU4u845A5C4ql3hKWHswWl95B9g\r\n9NC1343jaK/lDlQHLkBB12JPVXgNWxegDCM+RJM/fXoqHdRtx1iAACmgZ2as\r\nFCEwyXAyCFUhaP5xGRV6lDcHokNZf4ZyYEEbRTxquIfs89awjlnk/CTGNImM\r\nDxIuZGL33NfJtOtYp8fP1eTm7NqLXM7+4/jSKsUNJCDHyhI+0yJTwSkAbVuY\r\n87AhSKISSRbL7ZQAaUhfGC2SZQbZ3bgklHYwjp68ZWeHMbLlTc8mp8pypEfL\r\n7X6mw7Xas37SBznLENq8mXMFEj6y9O2X4rOAFTvEOOxE8Lc8J23Fzx97/c1X\r\nsnpQq8cIdqr1n4A6GvVA5xkYf9sZzsaeKwpsYLcxnPLgsacp0RPSDdmvQbsP\r\nb0fkLieNUx/p0PL5dEHdS/g/m0gZuBJQ4bXI6w5oOeZmxg9OQFw29LxBQbdN\r\n3da9OP8CKlv81KTJWV97/RJ3K04Wz7+V47Ar5GQzHL87zjtx+UWy2hDddVkh\r\nRydrOkhVHnWvTBVksPM6twajGeyypSkbeToeq4beXeD1UuBYNx9ONeEgeVwN\r\nic+8bi6p4iUvJJzwEwN8VUhhsPD1FOah4s4=\r\n=o/+x\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./build/src/main.js","type":"module","types":"./build/types/main.d.ts","engines":{"node":">=14.18.0"},"exports":{"types":"./build/types/main.d.ts","default":"./build/src/main.js"},"gitHead":"f2e0164b589a4035585d560a62fc2dc9fe6dc965","scripts":{"test":"gulp test"},"_npmUser":{"name":"ehmicky","email":"ehmicky@gmail.com"},"repository":{"url":"git+https://github.com/ehmicky/guess-json-indent.git","type":"git"},"_npmVersion":"9.1.1","description":"Guess the indentation of a JSON string","directories":{"lib":"src","test":"test"},"sideEffects":false,"_nodeVersion":"19.0.1","_hasShrinkwrap":false,"devDependencies":{"spyd":"^0.6.0","test-each":"^5.5.0","detect-indent":"^7.0.0","@ehmicky/dev-tasks":"^1.0.102","detect-indentation":"^5.20.0","detect-json-indent":"^0.0.3"},"_npmOperationalInternal":{"tmp":"tmp/guess-json-indent_1.5.0_1668191376291_0.09188736387477481","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"guess-json-indent","version":"2.0.0","keywords":["algorithm","detection","heuristic-algorithm","heuristics","indent","indentation","javascript","json","length","library","newline","nodejs","parsing","serialization","size","space","string","tabs","typescript","whitespace"],"author":{"url":"https://github.com/ehmicky","name":"ehmicky","email":"ehmicky@gmail.com"},"license":"MIT","_id":"guess-json-indent@2.0.0","maintainers":[{"name":"ehmicky","email":"ehmicky@gmail.com"}],"homepage":"https://www.github.com/ehmicky/guess-json-indent","bugs":{"url":"https://github.com/ehmicky/guess-json-indent/issues"},"dist":{"shasum":"c882d93916254263625d92cfbd1fce7386c421cd","tarball":"https://registry.npmjs.org/guess-json-indent/-/guess-json-indent-2.0.0.tgz","fileCount":5,"integrity":"sha512-3Tm6R43KhtZWEVSHZnFmYMV9+gf3Vu0HXNNYtPVk2s7o8eGwYlJPHrjLtYw/7HBc10YxV+bfzKMuOf24z5qFng==","signatures":[{"sig":"MEQCID0fvgxdxn/97biRDjd9EDe9M7SkuafcMKCW3RoYabzzAiAUXLXYHqJLbiPmyYpSjou3wU2GpO4Jq9v3vxTmvPWA/Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10797},"main":"./build/src/main.js","type":"module","types":"./build/src/main.d.ts","engines":{"node":">=16.17.0"},"exports":{"types":"./build/src/main.d.ts","default":"./build/src/main.js"},"gitHead":"06a1ebe5f321e1b1a3d29ac946d072520ba0fa4a","scripts":{"test":"gulp test"},"_npmUser":{"name":"ehmicky","email":"ehmicky@gmail.com"},"repository":{"url":"git+https://github.com/ehmicky/guess-json-indent.git","type":"git"},"_npmVersion":"9.6.6","description":"Guess the indentation of a JSON string","directories":{"lib":"src"},"sideEffects":false,"_nodeVersion":"20.1.0","_hasShrinkwrap":false,"devDependencies":{"spyd":"^0.6.1","test-each":"^6.0.0","detect-indent":"^7.0.1","@ehmicky/dev-tasks":"^2.0.80","detect-indentation":"^5.20.0","detect-json-indent":"^0.0.3"},"_npmOperationalInternal":{"tmp":"tmp/guess-json-indent_2.0.0_1684021434584_0.9671027919941402","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"guess-json-indent","version":"3.0.0","keywords":["algorithm","detection","heuristic-algorithm","heuristics","indent","indentation","javascript","json","length","library","newline","nodejs","parsing","serialization","size","space","string","tabs","typescript","whitespace"],"author":{"url":"https://github.com/ehmicky","name":"ehmicky","email":"ehmicky@gmail.com"},"license":"MIT","_id":"guess-json-indent@3.0.0","maintainers":[{"name":"ehmicky","email":"ehmicky@gmail.com"}],"homepage":"https://www.github.com/ehmicky/guess-json-indent","bugs":{"url":"https://github.com/ehmicky/guess-json-indent/issues"},"dist":{"shasum":"6a645caa074d702e01c5cb1687a7c95cc81f79a4","tarball":"https://registry.npmjs.org/guess-json-indent/-/guess-json-indent-3.0.0.tgz","fileCount":5,"integrity":"sha512-9+IPPxFy5zEH4xH9cBV/yTYySgcgeSiPHfsJi10Z5VgXc7ysIPoClfkw4WE0vuxNPJLk+R7njJvdJ5czuGQA5Q==","signatures":[{"sig":"MEYCIQCexEMK/X53rYh+DybG5TLOTwaJVY89b/kPyuRtI/a1+wIhAKgMQIPxHKiAjaLBXy/viYM/yRzINpOjeWdFiKUGeYH5","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11272},"main":"./build/src/main.js","type":"module","types":"./build/src/main.d.ts","engines":{"node":">=18.18.0"},"exports":{"types":"./build/src/main.d.ts","default":"./build/src/main.js"},"gitHead":"d16dac2ca4c4e85115edc2beaedd475f681e2a99","scripts":{"test":"gulp test"},"_npmUser":{"name":"ehmicky","email":"ehmicky@gmail.com"},"repository":{"url":"git+https://github.com/ehmicky/guess-json-indent.git","type":"git"},"_npmVersion":"10.2.1","description":"Guess the indentation of a JSON string","directories":{"lib":"src"},"sideEffects":false,"_nodeVersion":"21.1.0","_hasShrinkwrap":false,"devDependencies":{"spyd":"^0.8.0","test-each":"^6.0.1","detect-indent":"^7.0.1","@ehmicky/dev-tasks":"^2.0.102","detect-indentation":"^5.20.0","detect-json-indent":"^0.0.3"},"_npmOperationalInternal":{"tmp":"tmp/guess-json-indent_3.0.0_1698531402077_0.5289845908267052","host":"s3://npm-registry-packages"}},"3.0.1":{"name":"guess-json-indent","version":"3.0.1","type":"module","exports":{"types":"./build/src/main.d.ts","default":"./build/src/main.js"},"main":"./build/src/main.js","types":"./build/src/main.d.ts","sideEffects":false,"scripts":{"test":"gulp test"},"description":"Guess the indentation of a JSON string","keywords":["algorithm","detection","heuristic-algorithm","heuristics","indent","indentation","javascript","json","length","library","newline","nodejs","parsing","serialization","size","space","string","tabs","typescript","whitespace"],"license":"MIT","homepage":"https://www.github.com/ehmicky/guess-json-indent","repository":{"type":"git","url":"git+https://github.com/ehmicky/guess-json-indent.git"},"bugs":{"url":"https://github.com/ehmicky/guess-json-indent/issues"},"author":{"name":"ehmicky","email":"ehmicky@gmail.com","url":"https://github.com/ehmicky"},"directories":{"lib":"src"},"devDependencies":{"@ehmicky/dev-tasks":"^3.0.33","@ehmicky/eslint-config":"^20.0.31","@ehmicky/prettier-config":"^1.0.6","detect-indent":"^7.0.1","detect-indentation":"^6.8.0","detect-json-indent":"^0.0.3","spyd":"^0.8.3","test-each":"^7.0.1"},"engines":{"node":">=18.18.0"},"_id":"guess-json-indent@3.0.1","gitHead":"c0e18ec4e1f37e4130db0db5249db9f525e821f8","_nodeVersion":"23.10.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-LWZ3Vr8BG7DHE3TzPYFqkhjNRw4vYgFSsv2nfMuHklAlOfiy54/EwiDQuQfFVLxENCVv20wpbjfTayooQHrEhQ==","shasum":"bcee6ba400c9d254c1421a0d320c780ee370e33b","tarball":"https://registry.npmjs.org/guess-json-indent/-/guess-json-indent-3.0.1.tgz","fileCount":5,"unpackedSize":11027,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDZwge8+Qv9VfNCfhhNwaLLSxvhp56JIlmtexMXCdKFdQIhAIL1OyYr31Im97jOavMiowegZgczWkRhQpzbJ3AR3T8V"}]},"_npmUser":{"name":"ehmicky","email":"ehmicky@gmail.com"},"maintainers":[{"name":"ehmicky","email":"ehmicky@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/guess-json-indent_3.0.1_1743217493364_0.1207437265549598"},"_hasShrinkwrap":false}},"time":{"created":"2022-08-10T19:38:57.391Z","modified":"2025-03-29T03:04:53.738Z","1.0.0":"2022-08-10T19:38:57.684Z","1.1.0":"2022-08-10T19:40:04.127Z","1.2.0":"2022-08-16T19:12:44.782Z","1.3.0":"2022-10-13T18:39:48.174Z","1.3.1":"2022-10-13T19:57:56.411Z","1.4.0":"2022-11-07T22:20:09.900Z","1.5.0":"2022-11-11T18:29:36.472Z","2.0.0":"2023-05-13T23:43:54.748Z","3.0.0":"2023-10-28T22:16:42.322Z","3.0.1":"2025-03-29T03:04:53.583Z"},"bugs":{"url":"https://github.com/ehmicky/guess-json-indent/issues"},"author":{"name":"ehmicky","email":"ehmicky@gmail.com","url":"https://github.com/ehmicky"},"license":"MIT","homepage":"https://www.github.com/ehmicky/guess-json-indent","keywords":["algorithm","detection","heuristic-algorithm","heuristics","indent","indentation","javascript","json","length","library","newline","nodejs","parsing","serialization","size","space","string","tabs","typescript","whitespace"],"repository":{"type":"git","url":"git+https://github.com/ehmicky/guess-json-indent.git"},"description":"Guess the indentation of a JSON string","maintainers":[{"name":"ehmicky","email":"ehmicky@gmail.com"}],"readme":"[![Node](https://img.shields.io/badge/-Node.js-808080?logo=node.js&colorA=404040&logoColor=66cc33)](https://www.npmjs.com/package/guess-json-indent)\n[![Browsers](https://img.shields.io/badge/-Browsers-808080?logo=firefox&colorA=404040)](https://unpkg.com/guess-json-indent?module)\n[![TypeScript](https://img.shields.io/badge/-Typed-808080?logo=typescript&colorA=404040&logoColor=0096ff)](/src/main.d.ts)\n[![Codecov](https://img.shields.io/badge/-Tested%20100%25-808080?logo=codecov&colorA=404040)](https://codecov.io/gh/ehmicky/guess-json-indent)\n[![Minified size](https://img.shields.io/bundlephobia/minzip/guess-json-indent?label&colorA=404040&colorB=808080&logo=webpack)](https://bundlephobia.com/package/guess-json-indent)\n[![Mastodon](https://img.shields.io/badge/-Mastodon-808080.svg?logo=mastodon&colorA=404040&logoColor=9590F9)](https://fosstodon.org/@ehmicky)\n[![Medium](https://img.shields.io/badge/-Medium-808080.svg?logo=medium&colorA=404040)](https://medium.com/@ehmicky)\n\nGuess the indentation of a JSON string.\n\n# Example\n\n```js\nimport guessJsonIndent from 'guess-json-indent'\n\nconst input = [{ example: true }]\nguessJsonIndent(JSON.stringify(input)) // undefined\nguessJsonIndent(JSON.stringify(input, undefined, 1)) // 1\nguessJsonIndent(JSON.stringify(input, undefined, 2)) // 2\nguessJsonIndent(JSON.stringify(input, undefined, 4)) // 4\nguessJsonIndent(JSON.stringify(input, undefined, '\\t')) // '\\t'\nguessJsonIndent(JSON.stringify(input, undefined, '\\t\\t')) // '\\t\\t'\n\n// Keep the indentation of a JSON string when parsing/serializing it\nconst jsonString = JSON.stringify(input, undefined, 2)\nconst indent = guessJsonIndent(jsonString)\nconst parsedValue = JSON.parse(jsonString)\nconsole.log(JSON.stringify(input, undefined, indent)) // Same as jsonString\n```\n\n# Install\n\n```bash\nnpm install guess-json-indent\n```\n\nThis package works in both Node.js >=18.18.0 and\n[browsers](https://raw.githubusercontent.com/ehmicky/dev-tasks/main/src/browserslist).\n\nThis is an ES module. It must be loaded using\n[an `import` or `import()` statement](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c),\nnot `require()`. If TypeScript is used, it must be configured to\n[output ES modules](https://www.typescriptlang.org/docs/handbook/esm-node.html),\nnot CommonJS.\n\n# API\n\n## guessJsonIndent(jsonString)\n\nThe return value is the same as the third argument to `JSON.stringify()`:\n\n- `undefined`: none\n- integer: number of spaces\n- string: tabs\n\n# Benchmarks\n\nThis library is very fast thanks to:\n\n- Looking only at the first indented line, which is sufficient in the vast\n  majority of real-life cases\n- Being specific to JSON\n\nThe following benchmarks compares it:\n\n- With [`detect-indent`](https://github.com/sindresorhus/detect-indent),\n  [`detect-json-indent`](https://github.com/mapbox/detect-json-indent) and\n  [`detect-indentation`](https://github.com/bevry/detect-indentation)\n- On a big JSON string (8MB)\n\n```\nguess-json-indent:         43ns\ndetect-json-indent:  60114470ns\ndetect-indentation: 141975495ns\ndetect-indent:      198161087ns\n```\n\n# Related projects\n\n- [`truncate-json`](https://github.com/ehmicky/truncate-json): Truncate a JSON\n  string\n- [`is-json-value`](https://github.com/ehmicky/is-json-value): Check if a value\n  is valid JSON\n- [`safe-json-value`](https://github.com/ehmicky/safe-json-value): ⛑️ JSON\n  serialization should never fail\n\n# Support\n\nFor any question, _don't hesitate_ to [submit an issue on GitHub](../../issues).\n\nEveryone is welcome regardless of personal background. We enforce a\n[Code of conduct](CODE_OF_CONDUCT.md) in order to promote a positive and\ninclusive environment.\n\n# Contributing\n\nThis project was made with ❤️. The simplest way to give back is by starring and\nsharing it online.\n\nIf the documentation is unclear or has a typo, please click on the page's `Edit`\nbutton (pencil icon) and suggest a correction.\n\nIf you would like to help us fix a bug or add a new feature, please check our\n[guidelines](CONTRIBUTING.md). Pull requests are welcome!\n\n<!-- Thanks go to our wonderful contributors: -->\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore -->\n<!--\n<table><tr><td align=\"center\"><a href=\"https://fosstodon.org/@ehmicky\"><img src=\"https://avatars2.githubusercontent.com/u/8136211?v=4\" width=\"100px;\" alt=\"ehmicky\"/><br /><sub><b>ehmicky</b></sub></a><br /><a href=\"https://github.com/ehmicky/guess-json-indent/commits?author=ehmicky\" title=\"Code\">💻</a> <a href=\"#design-ehmicky\" title=\"Design\">🎨</a> <a href=\"#ideas-ehmicky\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/ehmicky/guess-json-indent/commits?author=ehmicky\" title=\"Documentation\">📖</a></td></tr></table>\n -->\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n","readmeFilename":"README.md"}