{"_id":"stringify-json-object","_rev":"1995314","name":"stringify-json-object","description":"Stringify and format a JSON object","dist-tags":{"latest":"1.0.7"},"maintainers":[{"name":"bconnorwhite","email":"connor.bcw@gmail.com"}],"time":{"modified":"2021-12-17T00:56:15.000Z","created":"2020-08-28T03:11:54.034Z","1.0.7":"2020-12-15T02:47:39.359Z","1.0.6":"2020-10-04T04:27:59.292Z","1.0.5":"2020-09-13T03:01:47.622Z","1.0.4":"2020-09-03T02:21:26.169Z","1.0.3":"2020-09-02T03:41:56.665Z","1.0.2":"2020-08-29T18:18:22.657Z","1.0.1":"2020-08-28T03:15:59.119Z","1.0.0":"2020-08-28T03:11:54.034Z"},"users":{},"author":{"name":"Connor White"},"repository":{"type":"git","url":"git+https://github.com/bconnorwhite/stringify-json-object.git"},"versions":{"1.0.7":{"name":"stringify-json-object","version":"1.0.7","description":"Stringify and format a JSON object","license":"MIT","author":{"name":"Connor White"},"homepage":"https://connorwhite.org/github/stringify-json-object","repository":{"type":"git","url":"git+https://github.com/bconnorwhite/stringify-json-object.git"},"keywords":["json","stringify","format","pretty","typed","object","typescript","ts"],"main":"./build/index.js","scripts":{"build":"bob build","commit":"bob commit","lint":"bob lint","release":"bob publish","test":"bob test"},"dependencies":{"types-json":"^1.2.2"},"devDependencies":{"@bconnorwhite/bob":"^2.9.2"},"eslintConfig":{"extends":"eslint-config-bob"},"husky":{"hooks":{"commit-msg":"bob lint commit"}},"npmpackagejsonlint":{"extends":"npm-package-json-lint-config-bob"},"_id":"stringify-json-object@1.0.7","dist":{"shasum":"7c5592c0c85aa247d104c3a27f5e70c67ce22ca6","size":1809,"noattachment":false,"key":"/stringify-json-object/-/stringify-json-object-1.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/stringify-json-object/download/stringify-json-object-1.0.7.tgz"},"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"directories":{},"maintainers":[{"name":"bconnorwhite","email":"connor.bcw@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stringify-json-object_1.0.7_1608000459181_0.6345916655117714"},"_hasShrinkwrap":false,"publish_time":1608000459359,"_cnpm_publish_time":1608000459359},"1.0.6":{"name":"stringify-json-object","version":"1.0.6","description":"Stringify and format a JSON object","license":"MIT","author":{"name":"Connor White"},"homepage":"https://connorwhite.org/github/stringify-json-object","repository":{"type":"git","url":"git+https://github.com/bconnorwhite/stringify-json-object.git"},"keywords":["json","stringify","format","pretty","typed","object","typescript","ts"],"main":"./build/index.js","scripts":{"build":"bob build","commit":"bob commit","lint":"bob lint","release":"bob publish","test":"bob test"},"dependencies":{"json-types":"^1.0.2"},"devDependencies":{"@bconnorwhite/bob":"^2.9.2"},"eslintConfig":{"extends":"eslint-config-bob"},"husky":{"hooks":{"commit-msg":"bob lint commit"}},"npmpackagejsonlint":{"extends":"npm-package-json-lint-config-bob"},"_id":"stringify-json-object@1.0.6","dist":{"shasum":"b9223287c460a238847dd7c47b2bcacd5c2e59fd","size":1721,"noattachment":false,"key":"/stringify-json-object/-/stringify-json-object-1.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/stringify-json-object/download/stringify-json-object-1.0.6.tgz"},"maintainers":[{"name":"bconnorwhite","email":"connor.bcw@gmail.com"}],"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stringify-json-object_1.0.6_1601785679132_0.25613676109029915"},"_hasShrinkwrap":false,"publish_time":1601785679292,"_cnpm_publish_time":1601785679292},"1.0.5":{"name":"stringify-json-object","version":"1.0.5","description":"Stringify and format a JSON object.","license":"MIT","author":{"name":"Connor White"},"homepage":"https://connorwhite.org/github/stringify-json-object","repository":{"type":"git","url":"git+https://github.com/bconnorwhite/stringify-json-object.git"},"keywords":["json","stringify","format","pretty","typed","object"],"main":"./build/index.js","scripts":{"build":"bob build","postversion":"git push","prepublishOnly":"yarn build && yarn test","test":"yarn jest"},"dependencies":{"@bconnorwhite/json-types":"^1.0.5"},"devDependencies":{"@bconnorwhite/bob":"^2.1.0","jest":"^26.4.2"},"_id":"stringify-json-object@1.0.5","dist":{"shasum":"daff40d7e9fed8c54ab42fe2c93064dbbda62e86","size":1118,"noattachment":false,"key":"/stringify-json-object/-/stringify-json-object-1.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/stringify-json-object/download/stringify-json-object-1.0.5.tgz"},"maintainers":[{"name":"bconnorwhite","email":"connor.bcw@gmail.com"}],"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stringify-json-object_1.0.5_1599966107483_0.09079997363811776"},"_hasShrinkwrap":false,"publish_time":1599966107622,"_cnpm_publish_time":1599966107622},"1.0.4":{"name":"stringify-json-object","version":"1.0.4","description":"Stringify and format a JSON object.","author":{"name":"Connor White"},"license":"MIT","keywords":["json","stringify","format","pretty","typed","object"],"homepage":"https://connorwhite.org/github/stringify-json-object","repository":{"type":"git","url":"git+https://github.com/bconnorwhite/stringify-json-object.git"},"main":"./build/index.js","scripts":{"build":"bob build","prepublishOnly":"yarn build && yarn test","postversion":"git push","test":"yarn jest"},"dependencies":{"@bconnorwhite/json-types":"^1.0.5"},"devDependencies":{"@bconnorwhite/bob":"^1.9.7","jest":"^26.4.2"},"_id":"stringify-json-object@1.0.4","dist":{"shasum":"05ba7bece42f59766bc5861e4088a35113fe2a97","size":1104,"noattachment":false,"key":"/stringify-json-object/-/stringify-json-object-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/stringify-json-object/download/stringify-json-object-1.0.4.tgz"},"maintainers":[{"name":"bconnorwhite","email":"connor.bcw@gmail.com"}],"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stringify-json-object_1.0.4_1599099686028_0.8559110170831836"},"_hasShrinkwrap":false,"publish_time":1599099686169,"_cnpm_publish_time":1599099686169},"1.0.3":{"name":"stringify-json-object","version":"1.0.3","description":"Stringify and format a JSON object.","author":{"name":"Connor White"},"license":"MIT","keywords":["json","stringify","format","pretty","typed","object"],"repository":{"type":"git","url":"git+https://github.com/bconnorwhite/stringify-json-object.git"},"main":"./build/index.js","scripts":{"build":"bob build","prepublishOnly":"yarn build && yarn test","test":"yarn jest"},"dependencies":{"@bconnorwhite/json-types":"^1.0.3"},"devDependencies":{"@bconnorwhite/bob":"^1.9.6","jest":"^26.4.2"},"_id":"stringify-json-object@1.0.3","dist":{"shasum":"86162b4c7b60441c8c6fb9cf70ae822995db0943","size":1077,"noattachment":false,"key":"/stringify-json-object/-/stringify-json-object-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/stringify-json-object/download/stringify-json-object-1.0.3.tgz"},"maintainers":[{"name":"bconnorwhite","email":"connor.bcw@gmail.com"}],"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stringify-json-object_1.0.3_1599018116550_0.6330741930574104"},"_hasShrinkwrap":false,"publish_time":1599018116665,"_cnpm_publish_time":1599018116665},"1.0.2":{"name":"stringify-json-object","version":"1.0.2","description":"Stringify and format a JSON object.","author":{"name":"Connor White"},"license":"MIT","keywords":["json","stringify","format","pretty","typed","object"],"repository":{"type":"git","url":"git+https://github.com/bconnorwhite/stringify-json-object.git"},"main":"./build/index.js","scripts":{"build":"bob build","prepublishOnly":"yarn build && yarn test","test":"yarn jest"},"dependencies":{"@bconnorwhite/json-types":"^1.0.2"},"devDependencies":{"@bconnorwhite/bob":"^1.9.5","jest":"^26.4.2"},"_id":"stringify-json-object@1.0.2","dist":{"shasum":"4ffbd96d6b4f385826174493a822c866450537f9","size":1071,"noattachment":false,"key":"/stringify-json-object/-/stringify-json-object-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/stringify-json-object/download/stringify-json-object-1.0.2.tgz"},"maintainers":[{"name":"bconnorwhite","email":"connor.bcw@gmail.com"}],"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stringify-json-object_1.0.2_1598725102427_0.8669346613775728"},"_hasShrinkwrap":false,"publish_time":1598725102657,"_cnpm_publish_time":1598725102657},"1.0.1":{"name":"stringify-json-object","version":"1.0.1","description":"Stringify and format a JSON object.","author":{"name":"Connor White"},"license":"MIT","keywords":["json","stringify","format","pretty","typed","object"],"repository":{"type":"git","url":"git+https://github.com/bconnorwhite/stringify-json-object.git"},"main":"./build/index.js","scripts":{"build":"babel ./src --out-dir ./build --config-file ./babel.config.json --extensions .ts --delete-dir-on-start && tsc --project ./tsconfig.json","prepublishOnly":"yarn build"},"devDependencies":{"@babel/cli":"^7.10.5","@babel/core":"^7.11.1","@babel/plugin-transform-runtime":"^7.11.0","@babel/preset-env":"^7.11.0","@babel/preset-typescript":"^7.10.4","@types/node":"^14.0.27","typescript":"^3.9.7"},"dependencies":{"@bconnorwhite/json-types":"^1.0.2"},"_id":"stringify-json-object@1.0.1","dist":{"shasum":"25e19b8831ddff989cd21c1be9172bf7dd62204e","size":1178,"noattachment":false,"key":"/stringify-json-object/-/stringify-json-object-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/stringify-json-object/download/stringify-json-object-1.0.1.tgz"},"maintainers":[{"name":"bconnorwhite","email":"connor.bcw@gmail.com"}],"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stringify-json-object_1.0.1_1598584558997_0.8900682272617948"},"_hasShrinkwrap":false,"publish_time":1598584559119,"_cnpm_publish_time":1598584559119},"1.0.0":{"name":"stringify-json-object","version":"1.0.0","description":"Stringify and format a JSON object.","author":{"name":"Connor White"},"license":"MIT","keywords":["json","stringify","typed","object"],"repository":{"type":"git","url":"git+https://github.com/bconnorwhite/stringify-json-object.git"},"main":"./build/index.js","scripts":{"build":"babel ./src --out-dir ./build --config-file ./babel.config.json --extensions .ts --delete-dir-on-start && tsc --project ./tsconfig.json","prepublishOnly":"yarn build"},"devDependencies":{"@babel/cli":"^7.10.5","@babel/core":"^7.11.1","@babel/plugin-transform-runtime":"^7.11.0","@babel/preset-env":"^7.11.0","@babel/preset-typescript":"^7.10.4","@types/node":"^14.0.27","typescript":"^3.9.7"},"dependencies":{"@bconnorwhite/json-types":"^1.0.1"},"_id":"stringify-json-object@1.0.0","dist":{"shasum":"d9eaecba11509caa37feea23240cdac6380a188a","size":1172,"noattachment":false,"key":"/stringify-json-object/-/stringify-json-object-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/stringify-json-object/download/stringify-json-object-1.0.0.tgz"},"maintainers":[{"name":"bconnorwhite","email":"connor.bcw@gmail.com"}],"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stringify-json-object_1.0.0_1598584313922_0.43657378935483604"},"_hasShrinkwrap":false,"publish_time":1598584314034,"_cnpm_publish_time":1598584314034}},"readme":"<div align=\"center\">\n  <h1>stringify-json-object</h1>\n  <a href=\"https://npmjs.com/package/stringify-json-object\">\n    <img alt=\"NPM\" src=\"https://img.shields.io/npm/v/stringify-json-object.svg\">\n  </a>\n  <a href=\"https://github.com/bconnorwhite/stringify-json-object\">\n    <img alt=\"TypeScript\" src=\"https://img.shields.io/github/languages/top/bconnorwhite/stringify-json-object.svg\">\n  </a>\n  <a href='https://coveralls.io/github/bconnorwhite/stringify-json-object?branch=master'>\n    <img alt=\"Coverage Status\" src=\"https://img.shields.io/coveralls/github/bconnorwhite/stringify-json-object.svg?branch=master\">\n  </a>\n  <a href=\"https://github.com/bconnorwhite/stringify-json-object\">\n    <img alt=\"GitHub Stars\" src=\"https://img.shields.io/github/stars/bconnorwhite/stringify-json-object?label=Stars%20Appreciated%21&style=social\">\n  </a>\n  <a href=\"https://twitter.com/bconnorwhite\">\n    <img alt=\"Twitter Follow\" src=\"https://img.shields.io/twitter/follow/bconnorwhite.svg?label=%40bconnorwhite&style=social\">\n  </a>\n</div>\n\n<br />\n\n> Stringify and format a JSON object.\n\n## Installation\n\n```sh\nyarn add stringify-json-object\n```\n\n```sh\nnpm install stringify-json-object\n```\n\n## API\n```ts\nimport stringify, { isJSONObject, JSONObject, JSONValue, JSONArray } from \"stringify-json-object\";\n\nstringify(json?: JSONValue, pretty = true) => string;\n\nisJSONObject(json?: JSONValue) => boolean;\n\n```\n\n### Types\n```ts\ntype JSONObject = {\n  [key in string]?: JSONValue\n};\n\ntype JSONValue = string | number | boolean | null | JSONObject | JSONArray;\n\ninterface JSONArray extends Array<JSONValue> {};\n```\n\n<br />\n\n<h2>Dependencies<img align=\"right\" alt=\"dependencies\" src=\"https://img.shields.io/david/bconnorwhite/stringify-json-object.svg\"></h2>\n\n- [json-types](https://www.npmjs.com/package/json-types): JSON TypeScript Definitions\n\n<br />\n\n<h2>Dev Dependencies<img align=\"right\" alt=\"David\" src=\"https://img.shields.io/david/dev/bconnorwhite/stringify-json-object.svg\"></h2>\n\n- [@bconnorwhite/bob](https://www.npmjs.com/package/@bconnorwhite/bob): Bob is a toolkit for TypeScript projects\n\n<br />\n\n<h2>License <img align=\"right\" alt=\"license\" src=\"https://img.shields.io/npm/l/stringify-json-object.svg\"></h2>\n\n[MIT](https://opensource.org/licenses/MIT)\n\n<br />\n\n## Related Packages\n\n- [parse-json-object](https://www.npmjs.com/package/parse-json-object): Parse a typed JSON object\n","_attachments":{},"homepage":"https://connorwhite.org/github/stringify-json-object","license":"MIT"}