{"_id":"cssbeautify","_rev":"14-c696585c08040a7a3221d554bcd34774","name":"cssbeautify","description":"Reindent and reformat CSS.","dist-tags":{"latest":"0.3.1"},"versions":{"0.3.0":{"name":"cssbeautify","description":"Reindent and reformat CSS.","version":"0.3.0","homepage":"http://cssbeautify.com","author":{"name":"Ariya Hidayat","email":"ariya@sencha.com"},"repository":{"type":"git","url":"git://github.com/senchalabs/cssbeautify.git"},"bugs":{"url":"https://github.com/senchalabs/cssbeautify/issues"},"licenses":[{"type":"MIT","url":"https://github.com/senchalabs/cssbeautify/blob/master/README.md"}],"main":"cssbeautify.js","bin":{"cssbeautify":"bin/cssbeautify"},"engines":{"node":"*"},"scripts":{"test":"node test/runner.js"},"keywords":["cssbeautify","css","formatter"],"_npmJsonOpts":{"file":"/Users/ariyahidayat/.npm/cssbeautify/0.3.0/package/package.json","wscript":false,"serverjs":false,"contributors":false},"_id":"cssbeautify@0.3.0","dependencies":{},"devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.17","_nodeVersion":"v0.4.11","_defaultsLoaded":true,"dist":{"shasum":"c4ff593543a4108136fb38933fed97482f77c7a8","tarball":"https://registry.npmjs.org/cssbeautify/-/cssbeautify-0.3.0.tgz","integrity":"sha512-hx1OOzSps8ixyN9E47WaCrnZanSRBluFU0wuyb1KcAaJlg2avDsj5DsECCndYFVMpXMWu/gEairAANM6SOK8og==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF4O9RhMwJtGnShKSL6t2ZJsqvTBPf8plsdZ+YQgeMtqAiAo7SWzUz45DYLt7m9ELZzJCOrfaIm/6nHIiFnfeE1nog=="}]},"maintainers":[{"name":"senchalabs","email":"ariya@sencha.com"}],"directories":{}},"0.3.1":{"name":"cssbeautify","description":"Reindent and reformat CSS.","version":"0.3.1","homepage":"http://cssbeautify.com","author":{"name":"Ariya Hidayat","email":"ariya@sencha.com"},"repository":{"type":"git","url":"https://github.com/senchalabs/cssbeautify"},"bugs":{"url":"https://github.com/senchalabs/cssbeautify/issues"},"licenses":[{"type":"MIT","url":"https://github.com/senchalabs/cssbeautify/blob/master/README.md"}],"main":"cssbeautify.js","bin":{"cssbeautify":"bin/cssbeautify"},"engines":{"node":"*"},"scripts":{"test":"node test/runner.js"},"keywords":["cssbeautify","css","formatter"],"readme":"# CSS Beautify #\n\nCSS Beautify is a JavaScript implementation of reindenter and reformatter for styles written in [CSS](http://www.w3.org/Style/CSS/).\n\nGiven the following style:\n\n```css\nmenu{color:red} navigation{background-color:#333}\n```\n\nCSS Beautify will produce:\n\n```css\nmenu {\n    color: red\n}\n\nnavigation {\n    background-color: #333\n}\n```\n\nTry it online at [cssbeautify.com](http://cssbeautify.com). For the\ncommand-line use, install Node.js [cssbeautify](https://npmjs.org/package/cssbeautify) package.\n\nFor more examples, see also its [test suite](http://cssbeautify.com/test/).\n\n## Using cssbeautify() function ##\n\nSince CSS Beautify is written in pure JavaScript, it can run anywhere that JavaScript can run.\n\nThe API is very simple:\n\n```javascript\nvar result = cssbeautify(style, options);\n```\n\n**options** is an optional object to adjust the formatting. Known options so far are:\n\n  *  <code>indent</code> is a string used for the indentation of the declaration (default is 4 spaces)\n  *  <code>openbrace</code> defines the placement of open curly brace, either *end-of-line* (default) or *separate-line*.\n  *  <code>autosemicolon</code> always inserts a semicolon after the last ruleset (default is *false*)\n\nExample call:\n\n```javascript\nvar beautified = cssbeautify('menu{opacity:.7}', {\n    indent: '  ',\n    openbrace: 'separate-line',\n    autosemicolon: true\n});\n```\n\n## Contributing ##\n\nContributions are welcomed! Please read the [Contribution Guide](https://github.com/senchalabs/cssbeautify/blob/master/CONTRIBUTING.md) for more info.\n\n## License ##\n\nCopyright (C) 2012 Sencha Inc.\nCopyright (C) 2011 Sencha Inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n","readmeFilename":"README.md","_id":"cssbeautify@0.3.1","dist":{"shasum":"12dd1f734035c2e6faca67dcbdcef74e42811397","tarball":"https://registry.npmjs.org/cssbeautify/-/cssbeautify-0.3.1.tgz","integrity":"sha512-ljnSOCOiMbklF+dwPbpooyB78foId02vUrTDogWzu6ca2DCNB7Kc/BHEGBnYOlUYtwXvSW0mWTwaiO2pwFIoRg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4tQy/Y8fE/zdTRu7CpbWXdhn036kaqFebvKqa/U6XAQIhAPqIRCnB80qE6UmWM3CutnfK3icn+Q4fNnx9mnCucaTW"}]},"_from":".","_npmVersion":"1.2.11","_npmUser":{"name":"senchalabs","email":"ariya@sencha.com"},"maintainers":[{"name":"senchalabs","email":"ariya@sencha.com"}],"directories":{}}},"maintainers":[{"name":"senchalabs","email":"ariya@sencha.com"}],"time":{"modified":"2022-06-14T05:01:19.038Z","created":"2012-11-07T17:52:24.058Z","0.3.0":"2012-11-07T17:52:24.529Z","0.3.1":"2013-10-09T17:59:30.168Z"},"author":{"name":"Ariya Hidayat","email":"ariya@sencha.com"},"repository":{"type":"git","url":"https://github.com/senchalabs/cssbeautify"},"users":{"leesei":true,"kastor":true,"jonkemp":true,"buster":true,"hotelsoftdev":true}}