{"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","tarball":"http://registry-npm.ywwl.com/beautify/download/beautify-0.0.8.tgz","integrity":"sha512-1iF6Ey2qxDkm6bPgKcoXUmwFDpoRi5IgwefQDDQBRLxlZAAYwcULoQ2IdBArXZuSsuL7AT+KvZI9xZVLeUZPRg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDM/3Mcae5b7W8oxZC/qOh6I1rL3t3veRt6V7EZYAjpuwIgdjZLywzHWeTNAGUL79R+Zh5VnfecOSk6i7ybvf44WWE="}],"size":3843,"noattachment":false,"key":"/beautify/-/beautify-0.0.8.tgz"},"maintainers":[{"name":"konstantin","email":"mail@konstantin.io"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/beautify-0.0.8.tgz_1475462049333_0.15425087907351553"},"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":1475462051313,"_cnpm_publish_time":1475462051313,"dist-tags":{"latest":"0.0.8"}}