{"_id":"json-format","_rev":"16-ba65bdc38d379964d19a7e5f1ef63a79","name":"json-format","description":"JSON format for good presentation","dist-tags":{"latest":"1.0.1"},"versions":{"0.0.1":{"name":"json-format","version":"0.0.1","description":"JSON format for good presentation","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git@github.com:luizstacio/json-format.git"},"keywords":["json","format","json","pretty","json","write","identation","json","ident","format"],"author":{"name":"luizstacio"},"license":"MIT","bugs":{"url":"https://github.com/luizstacio/json-format/issues"},"homepage":"https://github.com/luizstacio/json-format","_id":"json-format@0.0.1","dist":{"shasum":"3cc012182e94457712c593c6d3ea5aa78ccbc9ba","tarball":"https://registry.npmjs.org/json-format/-/json-format-0.0.1.tgz","integrity":"sha512-xzaiosZBGwbpqAbtwrP0DxM8U63kXQqyeDbEQInE/sgAh1rbPAPGyecJ1TnGN2CdE4Z+Pj+ItGpO4ctbU5g4AA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBej0tTZfG2SjFLmP9dzD7cJ9kjAcQFNTLd3sDj+7X5CAiEA2QNNs4vI5AqC874+Otv5f30GbGlr4MW8z8qtLTVXYwg="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"luizstacio","email":"luizstacio@gmail.com"},"maintainers":[{"name":"luizstacio","email":"luizstacio@gmail.com"}],"directories":{}},"0.1.1":{"name":"json-format","version":"0.1.1","description":"JSON format for good presentation","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+ssh://git@github.com/luizstacio/json-format.git"},"keywords":["json","format","json","pretty","json","write","identation","json","ident","format"],"author":{"name":"luizstacio"},"license":"MIT","bugs":{"url":"https://github.com/luizstacio/json-format/issues"},"homepage":"https://github.com/luizstacio/json-format","gitHead":"e1ef16adc5a24a97f87f512efef722fb0cf6240a","_id":"json-format@0.1.1","_shasum":"a03e3176b653faf57b9e1a3eb71e524e0c900e89","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"luizstacio","email":"luizstacio@gmail.com"},"dist":{"shasum":"a03e3176b653faf57b9e1a3eb71e524e0c900e89","tarball":"https://registry.npmjs.org/json-format/-/json-format-0.1.1.tgz","integrity":"sha512-l3BR3Lc8rTuGOlwTxYk+bZQeYev29bHQ+v4/1HY+EZqWLwlxuvv7aDMg82Xed9/0TsE7d4nLt3eSG+2LBIY1gQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHaLmzthkm/KbdOaBsJ4saAKZ/ek+AsnoZDwzezLnz4KAiB5SDpPp5n87m0Lh5WTLj5L06B2gVYnQo0j2vJJqx/JuA=="}]},"maintainers":[{"name":"luizstacio","email":"luizstacio@gmail.com"}],"directories":{}},"0.1.2":{"name":"json-format","version":"0.1.2","description":"JSON format for good presentation","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+ssh://git@github.com/luizstacio/json-format.git"},"keywords":["json","format","json","pretty","json","write","identation","json","ident","format"],"author":{"name":"luizstacio"},"license":"MIT","bugs":{"url":"https://github.com/luizstacio/json-format/issues"},"homepage":"https://github.com/luizstacio/json-format","gitHead":"69c3d5334c754940ee243e260b1c5b1b8b221470","_id":"json-format@0.1.2","_shasum":"97944beed282d69c5490c31ff2b8d80037801f19","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.5.0","_npmUser":{"name":"luizstacio","email":"luizstacio@gmail.com"},"dist":{"shasum":"97944beed282d69c5490c31ff2b8d80037801f19","tarball":"https://registry.npmjs.org/json-format/-/json-format-0.1.2.tgz","integrity":"sha512-HK4dWgtxJb18dViONirPYJWDzeMW+dFNEz1KJMe5fL+tzhoVa1S4EZScbgTO6xk09qmeJ1B7kkJh9uyggCfAwQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA+CwJYRifDUo7CL/1SqhlahSCJbbp8ZPajXVsbP6YkfAiEA0xu+wnAH7HDtzf5BLeUkmoQu80Fo6OE4fKIk4A1Ys44="}]},"maintainers":[{"name":"luizstacio","email":"luizstacio@gmail.com"}],"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/json-format-0.1.2.tgz_1455280964497_0.8551139212213457"},"directories":{}},"1.0.0":{"name":"json-format","version":"1.0.0","description":"JSON format for good presentation","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+ssh://git@github.com/luizstacio/json-format.git"},"keywords":["json","format","json","pretty","json","write","identation","json","ident","format"],"author":{"name":"luizstacio"},"license":"MIT","bugs":{"url":"https://github.com/luizstacio/json-format/issues"},"homepage":"https://github.com/luizstacio/json-format","gitHead":"bf30fa15c30a0f4bcf41c3510a4585eebeeeed9a","_id":"json-format@1.0.0","_shasum":"ada0d7938f15e3103dbd2b8c94733a4c404b73f1","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"luizstacio","email":"luizstacio@gmail.com"},"dist":{"shasum":"ada0d7938f15e3103dbd2b8c94733a4c404b73f1","tarball":"https://registry.npmjs.org/json-format/-/json-format-1.0.0.tgz","integrity":"sha512-+URkHxOneuZza7OxA//XJlGM+z0hmHoRxuRMC+nXALoErFzKbXuanXxYImRm0ykHNq3oR+Bl0ZIxiv3lK1oq3w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC5jLZ2OhHOa+KnUfhSqRnTo7n/NAzdmBj2/I/MH6Y+QwIhAM80c9gcQrgdDUrmoStTL/UroRG+ADtwaWsb3zVIPVUg"}]},"maintainers":[{"name":"luizstacio","email":"luizstacio@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/json-format-1.0.0.tgz_1482677207879_0.6848898420576006"},"directories":{}},"1.0.1":{"name":"json-format","version":"1.0.1","description":"JSON format for good presentation","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+ssh://git@github.com/luizstacio/json-format.git"},"keywords":["json","format","json","pretty","json","write","identation","json","ident","format"],"author":{"name":"luizstacio"},"license":"MIT","bugs":{"url":"https://github.com/luizstacio/json-format/issues"},"homepage":"https://github.com/luizstacio/json-format","devDependencies":{"mocha":"^3.2.0"},"gitHead":"0df943aec5a2af248c493d4e332662ed2ea15994","_id":"json-format@1.0.1","_shasum":"143f67e62af129d6bffed288a46265ea23d0df0c","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.8.0","_npmUser":{"name":"luizstacio","email":"luizstacio@gmail.com"},"dist":{"shasum":"143f67e62af129d6bffed288a46265ea23d0df0c","tarball":"https://registry.npmjs.org/json-format/-/json-format-1.0.1.tgz","integrity":"sha512-MoKIg/lBeQALqjYnqEanikfo3zBKRwclpXJexdF0FUniYAAN2ypEIXBEtpQb+9BkLFtDK1fyTLAsnGlyGfLGxw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCeLIslIB2kxv9GixTIn1CVtW7fIZV4JkNjf1TaZOv5lAIhAPpo069mrWKVPK6vC+woway50pQgK7a0iiYfF57RS0ZC"}]},"maintainers":[{"name":"luizstacio","email":"luizstacio@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/json-format-1.0.1.tgz_1491447649880_0.49468197324313223"},"directories":{}}},"readme":"json-format\n==========\n\n[![Build Status](https://travis-ci.org/luizstacio/json-format.svg?branch=master)](https://travis-ci.org/luizstacio/json-format.svg?branch=master)\n\nParse JavaScript Object to a JSON String indented.\n\n#### Instaling\n```\n  npm install json-format\n```\n\n#### Usage\n```\n  var jsonFormat = require('./');\n  var fs = require('fs');\n  var obj = {\n    a: 1,\n    b: 2\n  }\n\n  /* using config default, indent with tabs */\n  fs.writeFile('example_tabs.json', jsonFormat(obj), function(err){\n    if (err) throw err;\n    console.log('saved');\n  });\n\n  /* using indent with spaces */\n  var config = {\n    type: 'space',\n    size: 2\n  }\n\n  fs.writeFile('example_spaces.json', jsonFormat(obj, config), function(err){\n    if (err) throw err;\n    console.log('saved');\n  });\n```\n\n##### Result `example_tabs.json`\n```\n{\n    \"a\": 1,\n    \"b\": 2\n}\n```\n\n##### Result `example_spaces.json`\n```\n{\n  \"a\": 1,\n  \"b\": 2\n}\n```\n\n#### Default sizes\n```\n{\n  tab: { size: 1 },\n  space: { size: 4 }\n}\n```\n\n#### Config default\n```\n{\n  type: 'tab'\n}\n```\n\n[Based in this project](https://github.com/phoboslab/json-format).","maintainers":[{"name":"luizstacio","email":"luizstacio@gmail.com"}],"time":{"modified":"2023-03-05T20:26:38.497Z","created":"2014-07-14T03:21:35.742Z","0.0.1":"2014-07-14T03:21:35.742Z","0.1.1":"2015-09-28T05:09:48.485Z","0.1.2":"2016-02-12T12:42:47.992Z","1.0.0":"2016-12-25T14:46:50.080Z","1.0.1":"2017-04-06T03:00:51.712Z"},"homepage":"https://github.com/luizstacio/json-format","keywords":["json","format","json","pretty","json","write","identation","json","ident","format"],"repository":{"type":"git","url":"git+ssh://git@github.com/luizstacio/json-format.git"},"author":{"name":"luizstacio"},"bugs":{"url":"https://github.com/luizstacio/json-format/issues"},"license":"MIT","readmeFilename":"README.md","users":{"luizstacio":true,"warcrydoggie":true,"hualei":true,"flumpus-dev":true}}