{"name":"pug-beautify","main":"index","version":"0.1.1","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":"a1271b9a286d39ae4f353fd28404befca49f63bc","bugs":{"url":"https://github.com/vingorius/pug-beautify/issues"},"homepage":"https://github.com/vingorius/pug-beautify#readme","_id":"pug-beautify@0.1.1","_shasum":"df7fbc70ee80c18a6422dffab2fe508188cdcc18","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.0","_npmUser":{"name":"vingorius","email":"vingorius@gmail.com"},"dist":{"shasum":"df7fbc70ee80c18a6422dffab2fe508188cdcc18","tarball":"http://registry-npm.ywwl.com/pug-beautify/download/pug-beautify-0.1.1.tgz","integrity":"sha512-fadMtPHaRr6Ep6SDjPeCrsq5/Ody7N0kGNVemeoD3NeP6PeAaSyN4LMtIad0Tjzvn2b6913OqO7KCPxi65tA3A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDRMExmgUM323ECn6s/wlc8NsU0VkRy4FoukmveWRjfpAIgDhnUVH0aMXV2eEn2tD+Fa4BS6yV3zUv6DIfraUnxDJY="}],"size":2972,"noattachment":false,"key":"/pug-beautify/-/pug-beautify-0.1.1.tgz"},"maintainers":[{"name":"vingorius","email":"vingorius@gmail.com"}],"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/pug-beautify-0.1.1.tgz_1456357962683_0.6845877231098711"},"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":1456357964970,"_cnpm_publish_time":1456357964970,"dist-tags":{"latest":"0.1.1"}}