{"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","tarball":"http://registry-npm.ywwl.com/beautify/download/beautify-0.0.4.tgz","integrity":"sha512-x8oxMNstCmdQMD9ScMMDR/++rbgr7L9g7PfBYBB0uDO0Mu7yYpQ8NkmeaLChiKjkWPj/db8EHmw9eThkBnsWcg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBQLFIMxEUPDXEY4k/fDl5+2IP57Ky3k8Jjs6Rfc7F5zAiAcfxWdyTTOIPnSigUVbnMOTTMzNJf2D0pfKVt/F0KWvA=="}],"size":3813,"noattachment":false,"key":"/beautify/-/beautify-0.0.4.tgz"},"maintainers":[{"name":"konstantin","email":"mail@konstantin.io"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/beautify-0.0.4.tgz_1475461689017_0.46623668586835265"},"directories":{},"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","publish_time":1475461690538,"_cnpm_publish_time":1475461690538,"dist-tags":{"latest":"0.0.8"}}