{"name":"pug-beautify","main":"index","version":"0.1.0","description":"Simple Pug(Jade) Beautify","keywords":["jade","pug","beautify","formatter"],"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/vingorius/pug-beautify.git"},"license":"MIT","dependencies":{},"gitHead":"4e76326785b3aa7f384daabd7ea1dadc92529f4e","bugs":{"url":"https://github.com/vingorius/pug-beautify/issues"},"homepage":"https://github.com/vingorius/pug-beautify#readme","_id":"pug-beautify@0.1.0","_shasum":"ba070673177ce060c93b2c8a2b6bca0bd4c388d4","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.0","_npmUser":{"name":"vingorius","email":"vingorius@gmail.com"},"dist":{"shasum":"ba070673177ce060c93b2c8a2b6bca0bd4c388d4","tarball":"http://registry-npm.ywwl.com/pug-beautify/download/pug-beautify-0.1.0.tgz","integrity":"sha512-7q72CEt7p26Gao78D8wZzk9AHwvvi4ODe5wsXxnQ+C3LtQlROU28Ggc1U1pFU7orC/jIl0ZemBnLoQP9wHMpPw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDEcK61KtDoNCvfpxcf4jyIFqm2EtXe96kvxGpYPFkdwgIgYHSA2lbMi13QXFi4mEUQ33MswnQhTpezdl4n6x4uv7k="}],"size":2965,"noattachment":false,"key":"/pug-beautify/-/pug-beautify-0.1.0.tgz"},"maintainers":[{"name":"vingorius","email":"vingorius@gmail.com"}],"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/pug-beautify-0.1.0.tgz_1456278296053_0.4349790755659342"},"directories":{},"readme":"# Pug(former jade) beautify\n    This tiny program is formatting a pug(former jade) template file.\n    For reusability, it's made as a module suggested by @Glaving001\n    https://github.com/vingorius/jade-beautify/issues/7\n## Installation\n```shell\nnpm install pug-beautify\n```\n## Test\n```shell\nnpm test\n```\n### Options\n    fill_tab : true/false,default true, fill whether tab or space.\n    omit_div : true/false,default false, whether omit 'div' tag.\n    tab_size : number, default 4, when 'fill_tab' is false, fill 'tab_size' spaces.\n\n## How to use\n```javascript\nvar output = pugBeautify(code);\n```\n```javascript\nvar output = pugBeautify(code,{fill_tab:true,omit_div:false,tab_size:4});\n```\n\n## Example code\n```javascript\nvar fs = require('fs');\nvar pugBeautify = require('pug-beautify');\nvar code = fs.readFileSync('sample.jade','utf8');\nvar option = {\n    fill_tab: true,\n    omit_div: false,\n    tab_size: 4\n};\ntry {\n    var output = pugBeautify(code,option);\n}catch(error){\n    // Error occurred\n}\n```\n## Todo\n","publish_time":1456278296666,"_cnpm_publish_time":1456278296666,"dist-tags":{"latest":"0.1.1"}}