{"_id":"beautify","_rev":"4177156","name":"beautify","description":"beautify whatever","dist-tags":{"latest":"0.0.8"},"maintainers":[{"name":"konstantin","email":""}],"time":{"modified":"2026-03-01T21:37:18.000Z","created":"2016-10-02T22:21:51.225Z","0.0.8":"2016-10-03T02:34:11.313Z","0.0.4":"2016-10-03T02:28:10.538Z","0.0.1":"2016-10-02T22:21:51.225Z"},"users":{},"author":{"name":"Konstantin Gorodinskiy","email":"main@konstantin.io"},"repository":{"type":"git","url":"git+https://github.com/gko/beautify.git"},"versions":{"0.0.8":{"name":"beautify","version":"0.0.8","description":"beautify whatever","author":{"name":"Konstantin Gorodinskiy","email":"main@konstantin.io"},"bin":{"beautify":"./bin/beautify.js"},"scripts":{"test":"_mocha test/test.js"},"main":"index.js","repository":{"type":"git","url":"git+https://github.com/gko/beautify.git"},"keywords":["json","js","css","html","xml","prettify","beautify"],"devDependencies":{"commander":"^2.9.0","mocha":"^3.1.0"},"license":"MIT","dependencies":{"cssbeautify":"^0.3.1","html":"^1.0.0","js-beautify":"^1.6.4"},"gitHead":"23b091b04b12ac21ba725c2ab9bd7d1616d32839","bugs":{"url":"https://github.com/gko/beautify/issues"},"homepage":"https://github.com/gko/beautify#readme","_id":"beautify@0.0.8","_shasum":"e4ff755c2cd56727de0ccc1e6cc5d3ca0c52088d","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.1.0","_npmUser":{"name":"konstantin","email":"mail@konstantin.io"},"dist":{"shasum":"e4ff755c2cd56727de0ccc1e6cc5d3ca0c52088d","size":3843,"noattachment":false,"key":"/beautify/-/beautify-0.0.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/beautify/download/beautify-0.0.8.tgz"},"maintainers":[{"name":"konstantin","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/beautify-0.0.8.tgz_1475462049333_0.15425087907351553"},"directories":{},"_cnpmcore_publish_time":"2021-12-19T21:02:22.197Z","publish_time":1475462051313,"_cnpm_publish_time":1475462051313},"0.0.4":{"name":"beautify","version":"0.0.4","description":"beautify whatever","author":{"name":"Konstantin Gorodinskiy","email":"main@konstantin.io"},"bin":{"beautify":"./bin/beautify.js"},"scripts":{"test":"_mocha test/test.js"},"main":"index.js","repository":{"type":"git","url":"git+https://github.com/gko/beautify.git"},"keywords":["json","js","css","html","xml","prettify","beautify"],"devDependencies":{"commander":"^2.9.0","mocha":"^3.1.0"},"license":"MIT","dependencies":{"cssbeautify":"^0.3.1","html":"^1.0.0","js-beautify":"^1.6.4"},"gitHead":"53aef311486bf7995f4ec1c8942f3346af179ea5","bugs":{"url":"https://github.com/gko/beautify/issues"},"homepage":"https://github.com/gko/beautify#readme","_id":"beautify@0.0.4","_shasum":"6dc6c1cb45c524bb5623526b7a554f6ff96a3ffe","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.1.0","_npmUser":{"name":"konstantin","email":"mail@konstantin.io"},"dist":{"shasum":"6dc6c1cb45c524bb5623526b7a554f6ff96a3ffe","size":3813,"noattachment":false,"key":"/beautify/-/beautify-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/beautify/download/beautify-0.0.4.tgz"},"maintainers":[{"name":"konstantin","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/beautify-0.0.4.tgz_1475461689017_0.46623668586835265"},"directories":{},"_cnpmcore_publish_time":"2021-12-19T21:02:21.313Z","publish_time":1475461690538,"_cnpm_publish_time":1475461690538},"0.0.1":{"name":"beautify","version":"0.0.1","description":"beautify whatever","author":{"name":"Konstantin Gorodinskiy","email":"main@konstantin.io"},"bin":{"beautify":"./bin/beautify.js"},"scripts":{"test":""},"main":"index.js","repository":{"type":"git","url":"git+https://github.com/gko/beautify.git"},"keywords":["json","js","css","html","xml","prettify","beautify"],"devDependencies":{"babel":"^6.5.2","babel-cli":"^6.16.0","commander":"^2.9.0"},"license":"MIT","dependencies":{"cssbeautify":"^0.3.1","csscomb":"^3.1.7","html":"^1.0.0","js-beautify":"^1.6.4"},"bugs":{"url":"https://github.com/gko/beautify/issues"},"homepage":"https://github.com/gko/beautify#readme","_id":"beautify@0.0.1","_shasum":"d2a30fe09ae17fd7cc54584f70519ace28ce0fac","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.1.0","_npmUser":{"name":"konstantin","email":"mail@konstantin.io"},"dist":{"shasum":"d2a30fe09ae17fd7cc54584f70519ace28ce0fac","size":1210,"noattachment":false,"key":"/beautify/-/beautify-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/beautify/download/beautify-0.0.1.tgz"},"maintainers":[{"name":"konstantin","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/beautify-0.0.1.tgz_1475446909679_0.5753144125919789"},"directories":{},"_cnpmcore_publish_time":"2021-12-19T21:02:20.450Z","publish_time":1475446911225,"_cnpm_publish_time":1475446911225}},"readme":"# Beautify\n![build](https://travis-ci.org/gko/beautify.svg?branch=master)\n[![Dependency Status](https://www.versioneye.com/user/projects/57f1c07b9907da004fa9a784/badge.svg?style=flat-square)](https://www.versioneye.com/user/projects/57f1c07b9907da004fa9a784)\n[![npm version](https://badge.fury.io/js/beautify.svg)](https://badge.fury.io/js/beautify)\n\nBeautify CSS/JS/JSON/HTML/XML formats\n\n## Installation\n\n```bash\nnpm i beautify -g\n```\n\n## Usage\n\nbeautify [options]:\n\n-h, --help             output usage information\n\n-V, --version          output the version number\n\n-f, --format <format>  input format.(optional) json/xml/html/js/css\n\n-o, --output <file>    output file or folder\n\nexamles:\n```bash\nbeautify -o output.html ./test.html\n```\n\n```bash\ncurl -L https://raw.githubusercontent.com/gko/beautify/master/test/mock/test1.json | beautify\n```\n\n```bash\necho 'body{width: \"200px\"}' | beautify -f css\n```\n\nYou can also use it from node:\n\n```javascript\nconst beautify = require('beautify');\n\nbeautify(`{\"a\":1}`, {format: 'json'})\n```\n\n## Tests\n\nTo run tests you simply need to do:\n```bash\nnpm run test\n```\n\n## License\n\n[MIT](http://opensource.org/licenses/MIT)\n\nCopyright (c) 2016 Konstantin Gorodinskiy","_attachments":{},"homepage":"https://github.com/gko/beautify#readme","bugs":{"url":"https://github.com/gko/beautify/issues"},"license":"MIT"}