{"_id":"krasota","_rev":"37-0183795ed3cabf1275fb5239b60f6bb5","name":"krasota","description":"Syntactic transformations of JavaScript code, with taking care of whitespaces and comments.","dist-tags":{"latest":"0.2.2"},"versions":{"0.1.0":{"name":"krasota","description":"Syntactic transformations of JavaScript code, with taking care of whitespaces and comments.","version":"0.1.0","homepage":"http://github.com/veged/krasota.js","author":{"name":"Sergey Berezhnoy","email":"veged@ya.ru","url":"http://github.com/veged"},"contributors":[],"repository":{"type":"git","url":"git://github.com/veged/krasota.js.git"},"main":"./lib/krasota.js","directories":{"lib":"./lib"},"bin":{"krasota":"./bin/krasota"},"dependencies":{"coa":"0.3.x","q":"0.7.x","ometajs":"2.1.x"},"devDependencies":{"mocha":"1.0.x"},"engines":{"node":">=0.4.0"},"licenses":[{"type":"AS IS"}],"scripts":{"prepublish":"make -B","test":"make test"},"_npmUser":{"name":"veged","email":"veged@mail.ru"},"_id":"krasota@0.1.0","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.1","_nodeVersion":"v0.6.11","_defaultsLoaded":true,"dist":{"shasum":"c3ce9f59907210af5363cfa9b44aa9e83e8c26fc","tarball":"https://registry.npmjs.org/krasota/-/krasota-0.1.0.tgz","integrity":"sha512-BbZqKtqOoHRA5IBUsBDzwU89MHFPRjNrmHRItuLBu1TUSjK3omwt+AImpEOz5tf1fAWrNHMoDFcYrc0eUr5p0Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFtrIS4OeNMYUEY+3tmem15kc2xN5EdA3vAbspCnRv+CAiBeWSzJ8CeCTSRC3O/oLaVjN/1uBDJYHhBcGv0djB9xsA=="}]},"maintainers":[{"name":"veged","email":"veged@mail.ru"}]},"0.1.1":{"name":"krasota","description":"Syntactic transformations of JavaScript code, with taking care of whitespaces and comments.","version":"0.1.1","homepage":"http://github.com/veged/krasota.js","author":{"name":"Sergey Berezhnoy","email":"veged@ya.ru","url":"http://github.com/veged"},"contributors":[],"repository":{"type":"git","url":"git://github.com/veged/krasota.js.git"},"main":"./lib/krasota.js","directories":{"lib":"./lib"},"bin":{"krasota":"./bin/krasota"},"dependencies":{"coa":"0.3.x","q":"0.7.x","ometajs":"2.1.x"},"devDependencies":{"mocha":"1.0.x"},"engines":{"node":">=0.4.0"},"licenses":[{"type":"AS IS"}],"scripts":{"prepublish":"make -B","test":"make test"},"_npmUser":{"name":"veged","email":"veged@mail.ru"},"_id":"krasota@0.1.1","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.1","_nodeVersion":"v0.6.11","_defaultsLoaded":true,"dist":{"shasum":"7b76717440a3e452e29f6e44a38b4189125ac331","tarball":"https://registry.npmjs.org/krasota/-/krasota-0.1.1.tgz","integrity":"sha512-E5fp8D/QyuuZtTW7HPq2alsRAApYk5Dly22d+eMSP+Hjp921YOtbzxKXoMImkVWXMUwV2iLNm6LKyy+suXekxA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDbOQbUvkVC6HEzHJhUcNrCHuwiOpwFrgdy8UmQwvvhpwIga9mIUEqJVuNS1cgPqisujhJOAzGjTbbpX07e2Vd51Xw="}]},"maintainers":[{"name":"veged","email":"veged@mail.ru"}]},"0.1.2":{"name":"krasota","description":"Syntactic transformations of JavaScript code, with taking care of whitespaces and comments.","version":"0.1.2","homepage":"http://github.com/veged/krasota.js","author":{"name":"Sergey Berezhnoy","email":"veged@ya.ru","url":"http://github.com/veged"},"contributors":[],"repository":{"type":"git","url":"git://github.com/veged/krasota.js.git"},"main":"./lib/krasota.js","directories":{"lib":"./lib"},"bin":{"krasota":"./bin/krasota"},"dependencies":{"coa":"0.3.x","q":"0.7.x","ometajs":"2.1.x","eyes":"0.1.x"},"devDependencies":{"mocha":"1.0.x"},"engines":{"node":">=0.4.0"},"licenses":[{"type":"AS IS"}],"scripts":{"prepublish":"make -B","test":"make test"},"_npmUser":{"name":"veged","email":"veged@mail.ru"},"_id":"krasota@0.1.2","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.1","_nodeVersion":"v0.6.11","_defaultsLoaded":true,"dist":{"shasum":"1f149927aa0a7270d8ed23acecee488783ed9bb9","tarball":"https://registry.npmjs.org/krasota/-/krasota-0.1.2.tgz","integrity":"sha512-neJeAGpl2YCiOVXguhpv6oAvFVekjIAgqvkbTj9YY58EVRaB9fCDiaGUamqaPBwoqxQlexymAZyvEvOPP6m+jQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAuE15xFpoHvOjZzfv1oEyJaCt+dUDvXP6RUeD8wpheDAiB91ORVcr7xF1JBvBhyQvdacdH7fh4IPs0jlU6IM/KRzA=="}]},"maintainers":[{"name":"veged","email":"veged@mail.ru"}]},"0.1.3":{"name":"krasota","description":"Syntactic transformations of JavaScript code, with taking care of whitespaces and comments.","version":"0.1.3","homepage":"http://github.com/veged/krasota.js","author":{"name":"Sergey Berezhnoy","email":"veged@ya.ru","url":"http://github.com/veged"},"contributors":[],"repository":{"type":"git","url":"git://github.com/veged/krasota.js.git"},"main":"./lib/krasota.js","directories":{"lib":"./lib"},"bin":{"krasota":"./bin/krasota"},"dependencies":{"coa":"0.3.x","q":"0.7.x","ometajs":"2.1.x","eyes":"0.1.x"},"devDependencies":{"mocha":"1.0.x"},"engines":{"node":">=0.4.0"},"licenses":[{"type":"AS IS"}],"scripts":{"prepublish":"make -B","test":"make test"},"_npmUser":{"name":"veged","email":"veged@mail.ru"},"_id":"krasota@0.1.3","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.1","_nodeVersion":"v0.6.11","_defaultsLoaded":true,"dist":{"shasum":"8b3e5ee6fd819016893e95da34aa4b4ac5dc1f60","tarball":"https://registry.npmjs.org/krasota/-/krasota-0.1.3.tgz","integrity":"sha512-mp9ZZrmN/dpheAUo2lWxfFtSRsvoncNI2AXupgbd5lbP9TxzulXXEWvmzyOW7Xv+HSRALGYHN91FViZSRAkw+g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE3+dKCNHafQEIEfpTUDIiOb71RoN8BZ6s9kAB3sAhNDAiB+0vNi/Mi7srCYaRbyMIGSlla+kuC1a1sbW4Ks8VGiXg=="}]},"maintainers":[{"name":"veged","email":"veged@mail.ru"}]},"0.1.4":{"name":"krasota","description":"Syntactic transformations of JavaScript code, with taking care of whitespaces and comments.","version":"0.1.4","homepage":"http://github.com/veged/krasota.js","author":{"name":"Sergey Berezhnoy","email":"veged@ya.ru","url":"http://github.com/veged"},"contributors":[],"repository":{"type":"git","url":"git://github.com/veged/krasota.js.git"},"main":"./lib/krasota.js","directories":{"lib":"./lib"},"bin":{"krasota":"./bin/krasota"},"dependencies":{"coa":"0.3.x","q":"0.7.x","ometajs":"2.1.x","eyes":"0.1.x"},"devDependencies":{"mocha":"1.0.x"},"engines":{"node":">=0.4.0"},"licenses":[{"type":"AS IS"}],"scripts":{"test":"make test"},"_npmUser":{"name":"veged","email":"veged@mail.ru"},"_id":"krasota@0.1.4","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.1","_nodeVersion":"v0.6.11","_defaultsLoaded":true,"dist":{"shasum":"7f61dff0b5c6851f65908a7a6c02488c6e1ad49b","tarball":"https://registry.npmjs.org/krasota/-/krasota-0.1.4.tgz","integrity":"sha512-spU3pOWZT/b48DrX1Z8M6h4MkeMwO8oXxxRpRgbZIjKhGqHQrXJ6pZC2abqqqlEPRtRi2LsoUCfCRmt1TcV+Iw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGss6nwlIg1EbRLm58WwFivSfBjp4+FIH+Qpo/uTa7XnAiEAzIOpHvWYgPoiArZVPhJeHHJAz41d/opmaI3zUrOvM0I="}]},"maintainers":[{"name":"veged","email":"veged@mail.ru"}]},"0.1.5":{"name":"krasota","description":"Syntactic transformations of JavaScript code, with taking care of whitespaces and comments.","version":"0.1.5","homepage":"http://github.com/veged/krasota.js","author":{"name":"Sergey Berezhnoy","email":"veged@ya.ru","url":"http://github.com/veged"},"contributors":[],"repository":{"type":"git","url":"git://github.com/veged/krasota.js.git"},"main":"./lib/krasota.js","directories":{"lib":"./lib"},"bin":{"krasota":"./bin/krasota"},"dependencies":{"coa":"0.3.x","q":"0.7.x","ometajs":"2.1.x","eyes":"0.1.x"},"devDependencies":{"mocha":"1.0.x"},"engines":{"node":">=0.4.0"},"licenses":[{"type":"AS IS"}],"scripts":{"prepublish":"make -B","test":"make test"},"_npmUser":{"name":"veged","email":"veged@mail.ru"},"_id":"krasota@0.1.5","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.1","_nodeVersion":"v0.6.11","_defaultsLoaded":true,"dist":{"shasum":"c7e8d9c703b55abdf858ec12333afed9d7efb147","tarball":"https://registry.npmjs.org/krasota/-/krasota-0.1.5.tgz","integrity":"sha512-G48h2oEGO/I6Yi6NzEOOlK/45Lb4CHfiNj1nxOFFKSCOGlZjgE5XR/d87PLgVzZ9oUryZaiD8nc3koe8L7izYw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDZfRTHfFEuGExjiYq/g4Gz1ylr1D5u1nxTRuoMD4+YgAIhANXezRWjX2YmSYnrb5wyWPG4o4LK/EZxowYtO8Y6zSNd"}]},"maintainers":[{"name":"veged","email":"veged@mail.ru"}]},"0.1.6":{"name":"krasota","description":"Syntactic transformations of JavaScript code, with taking care of whitespaces and comments.","version":"0.1.6","homepage":"http://github.com/veged/krasota.js","author":{"name":"Sergey Berezhnoy","email":"veged@ya.ru","url":"http://github.com/veged"},"contributors":[],"repository":{"type":"git","url":"git://github.com/veged/krasota.js.git"},"main":"./lib/krasota.js","directories":{"lib":"./lib"},"bin":{"krasota":"./bin/krasota"},"dependencies":{"coa":"0.3.x","q":"0.7.x","ometajs":"2.1.x","eyes":"0.1.x"},"devDependencies":{"mocha":"1.0.x"},"engines":{"node":">=0.4.0"},"licenses":[{"type":"AS IS"}],"scripts":{"prepublish":"make -B","test":"make test"},"_npmUser":{"name":"veged","email":"veged@mail.ru"},"_id":"krasota@0.1.6","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.1","_nodeVersion":"v0.6.11","_defaultsLoaded":true,"dist":{"shasum":"b4da32cbc5fa0e2cc0509919e7478f1697c431ac","tarball":"https://registry.npmjs.org/krasota/-/krasota-0.1.6.tgz","integrity":"sha512-OCEO1gnmDE8+0kjxt7UdBnrS1/MNolqEHMcOzBv17kQb2JkRZKyfUBUbx5n8h+ZhjbHrdluorJPhw0GMG4SeVQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCLtMppmCN697ijPhliGVp5X9ykyH0h8R01mTIyDLgAPgIhAPR5ykEpxLbmXSMzTMWRiRIJLnHqiON6gPimdbeutHZj"}]},"maintainers":[{"name":"veged","email":"veged@mail.ru"}]},"0.1.7":{"name":"krasota","description":"Syntactic transformations of JavaScript code, with taking care of whitespaces and comments.","version":"0.1.7","homepage":"http://github.com/veged/krasota.js","author":{"name":"Sergey Berezhnoy","email":"veged@ya.ru","url":"http://github.com/veged"},"contributors":[],"repository":{"type":"git","url":"git://github.com/veged/krasota.js.git"},"main":"./lib/krasota.js","directories":{"lib":"./lib"},"bin":{"krasota":"./bin/krasota"},"dependencies":{"coa":"0.3.x","q":"0.7.x","ometajs":"3.2.x","eyes":"0.1.x"},"devDependencies":{"mocha":"1.0.x"},"engines":{"node":">=0.4.0"},"licenses":[{"type":"AS IS"}],"scripts":{"prepublish":"make -B","test":"make tests"},"bugs":{"url":"https://github.com/veged/krasota.js/issues"},"_id":"krasota@0.1.7","dist":{"shasum":"235f71c468aaf46753c5b381dbb73e4368c664e8","tarball":"https://registry.npmjs.org/krasota/-/krasota-0.1.7.tgz","integrity":"sha512-3Jx1vGChHphWiCQ1VB/zQo7xf3G9d7bVM76pbcNprH9d1mEyjqew5AgCIn2FQC6w4bJNXLriA4if0mL4+jU4HA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHd/kIrzMcz0sFms8mSpuQsQZeqTLDrSyIpX6u1JQP2hAiAqhtHursqkSjCPpSHGYAwVtA24AmMbKB0HzTLNBYJsYA=="}]},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"veged","email":"veged@ya.ru"},"maintainers":[{"name":"veged","email":"veged@mail.ru"}]},"0.1.8":{"name":"krasota","description":"Syntactic transformations of JavaScript code, with taking care of whitespaces and comments.","version":"0.1.8","homepage":"http://github.com/veged/krasota.js","author":{"name":"Sergey Berezhnoy","email":"veged@ya.ru","url":"http://github.com/veged"},"contributors":[],"repository":{"type":"git","url":"git://github.com/veged/krasota.js.git"},"main":"./lib/krasota.js","directories":{"lib":"./lib"},"bin":{"krasota":"./bin/krasota"},"dependencies":{"coa":"0.3.x","q":"0.7.x","ometajs":"3.2.x","eyes":"0.1.x","ignore":"2.2.8"},"devDependencies":{"mocha":"1.0.x"},"engines":{"node":">=0.4.0"},"licenses":[{"type":"AS IS"}],"scripts":{"prepublish":"make -B","test":"make tests"},"bugs":{"url":"https://github.com/veged/krasota.js/issues"},"_id":"krasota@0.1.8","dist":{"shasum":"d6a38ba790e0bf9bdefec132e20ee12407cdbd2b","tarball":"https://registry.npmjs.org/krasota/-/krasota-0.1.8.tgz","integrity":"sha512-h0b54DhgnJLhaj1NfXg4CmI1Ko7bJg8AVnnj5MWsLgsPd2VGT4A1yDCRbPU+0unyjJ0dfYbgIbuf17QfQz0BDQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDIVEkUvmxfCavTWH19j99Mxwcu00cZasP4LSPg4YIqKQIhAKopA/cFoYZTyHCa9lseyjKZ9jbmN7WCztXw1YaXnU31"}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"veged","email":"veged@ya.ru"},"maintainers":[{"name":"veged","email":"veged@mail.ru"}]},"0.1.9":{"name":"krasota","description":"Syntactic transformations of JavaScript code, with taking care of whitespaces and comments.","version":"0.1.9","homepage":"http://github.com/veged/krasota.js","author":{"name":"Sergey Berezhnoy","email":"veged@ya.ru","url":"http://github.com/veged"},"contributors":[],"repository":{"type":"git","url":"git://github.com/veged/krasota.js.git"},"main":"./lib/krasota.js","directories":{"lib":"./lib"},"bin":{"krasota":"./bin/krasota"},"dependencies":{"coa":"0.3.x","q":"0.7.x","ometajs":"3.3.x","eyes":"0.1.x","ignore":"2.2.8"},"devDependencies":{"mocha":"1.0.x"},"engines":{"node":">=0.4.0"},"licenses":[{"type":"AS IS"}],"scripts":{"prepublish":"make -B","test":"make tests"},"bugs":{"url":"https://github.com/veged/krasota.js/issues"},"_id":"krasota@0.1.9","dist":{"shasum":"abb2059b66f2527549912915d94d358497024815","tarball":"https://registry.npmjs.org/krasota/-/krasota-0.1.9.tgz","integrity":"sha512-OOPPov5r2nzBcu2KQNb+bDlkB/0Gm2pbqHITq3wNzqVCtJIxVLLpe1rfAWe1yJPqWuAHFh/Mc1BmCG02axI/xw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC36LCbtKt9xEOmJnkGYrXSMoY6et5R73NCvFIcZIwCVAiB6N/3lJyr2EQumOmPd7Dl6NMKPt9u/YBBvbTx5hy5OUA=="}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"veged","email":"veged@ya.ru"},"maintainers":[{"name":"veged","email":"veged@mail.ru"}]},"0.2.0":{"name":"krasota","description":"Syntactic transformations of JavaScript code, with taking care of whitespaces and comments.","version":"0.2.0","homepage":"http://github.com/veged/krasota.js","author":{"name":"Sergey Berezhnoy","email":"veged@ya.ru","url":"http://github.com/veged"},"contributors":[],"repository":{"type":"git","url":"git://github.com/veged/krasota.js.git"},"main":"./lib/krasota.js","directories":{"lib":"./lib"},"bin":{"krasota":"./bin/krasota"},"dependencies":{"coa":"0.3.x","q":"0.7.x","ometajs":"3.3.x","eyes":"0.1.x","ignore":"2.2.8"},"devDependencies":{"mocha":"1.0.x"},"engines":{"node":">=0.4.0"},"licenses":[{"type":"AS IS"}],"scripts":{"prepublish":"make -B","test":"make tests"},"gitHead":"5daf420943897c1c1f8e6bf30afea3060d4d2140","bugs":{"url":"https://github.com/veged/krasota.js/issues"},"_id":"krasota@0.2.0","_shasum":"41a0ee99302d396fad3d3368f83196983c50d1ff","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"veged","email":"veged@ya.ru"},"maintainers":[{"name":"veged","email":"veged@mail.ru"}],"dist":{"shasum":"41a0ee99302d396fad3d3368f83196983c50d1ff","tarball":"https://registry.npmjs.org/krasota/-/krasota-0.2.0.tgz","integrity":"sha512-EMxcAbCGj7B1+5vZjljZlWXruNzZ3hTZY+gu0ZcIx7B3ecRwM7rhpPfqwpyKl3u4lpkp4mP8zm1bakL0qW3Kmg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQSWWaSQb5RWNhz4iI78gRp24kv/MMX0b3bgpR+/9FBAIhALnT916eNzXJMKQUa1Ck5wMShZ/VDzlF8aIdQ06wdgRW"}]}},"0.2.1":{"name":"krasota","description":"Syntactic transformations of JavaScript code, with taking care of whitespaces and comments.","version":"0.2.1","homepage":"http://github.com/veged/krasota.js","author":{"name":"Sergey Berezhnoy","email":"veged@ya.ru","url":"http://github.com/veged"},"contributors":[],"repository":{"type":"git","url":"git://github.com/veged/krasota.js.git"},"main":"./lib/krasota.js","directories":{"lib":"./lib"},"bin":{"krasota":"./bin/krasota"},"dependencies":{"coa":"0.3.x","q":"0.7.x","ometajs":"3.3.x","eyes":"0.1.x","ignore":"2.2.8"},"devDependencies":{"mocha":"1.0.x"},"engines":{"node":">=0.4.0"},"licenses":[{"type":"AS IS"}],"scripts":{"prepublish":"make -B","test":"make tests"},"gitHead":"38aaf38b54a989cfb29eb35055d4779c9a59aff0","bugs":{"url":"https://github.com/veged/krasota.js/issues"},"_id":"krasota@0.2.1","_shasum":"add1cb4e786c6d3e3e372f720a76cfac167f75c7","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"veged","email":"veged@ya.ru"},"maintainers":[{"name":"veged","email":"veged@mail.ru"}],"dist":{"shasum":"add1cb4e786c6d3e3e372f720a76cfac167f75c7","tarball":"https://registry.npmjs.org/krasota/-/krasota-0.2.1.tgz","integrity":"sha512-b8QX9Woag4Nhy2RyJuWAEg8ctzpHd/COVFryhYo207T1TeXJymIws5VZl2QlqYlut8HIcOc17dgXK1tQwCQy4Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD9emLaipDKgDK6HWwUM06JAdfuGt8bHfDpw/DkI9FNYgIgEKRxqgJuwEMUajYMXUkN3oSyDApZifnDpj+RqJ62FVg="}]}},"0.2.2":{"name":"krasota","description":"Syntactic transformations of JavaScript code, with taking care of whitespaces and comments.","version":"0.2.2","homepage":"http://github.com/veged/krasota.js","author":{"name":"Sergey Berezhnoy","email":"veged@ya.ru","url":"http://github.com/veged"},"contributors":[],"repository":{"type":"git","url":"git://github.com/veged/krasota.js.git"},"main":"./lib/krasota.js","directories":{"lib":"./lib"},"bin":{"krasota":"./bin/krasota"},"dependencies":{"coa":"0.3.x","q":"0.7.x","ometajs":"4.0.x","eyes":"0.1.x","ignore":"2.2.8"},"devDependencies":{"mocha":"1.0.x"},"engines":{"node":">=0.4.0"},"licenses":[{"type":"AS IS"}],"scripts":{"prepublish":"make -B","test":"make tests"},"gitHead":"2271a46350872cd6ff6a8ce8649a5785425ec7b7","bugs":{"url":"https://github.com/veged/krasota.js/issues"},"_id":"krasota@0.2.2","_shasum":"7af65af3adca234d1904da4a6c7cbbeb01fb2b71","_from":".","_npmVersion":"2.14.2","_nodeVersion":"0.12.7","_npmUser":{"name":"veged","email":"veged@ya.ru"},"maintainers":[{"name":"veged","email":"veged@mail.ru"}],"dist":{"shasum":"7af65af3adca234d1904da4a6c7cbbeb01fb2b71","tarball":"https://registry.npmjs.org/krasota/-/krasota-0.2.2.tgz","integrity":"sha512-zqnH3pdB2bwbSILexz2OLL1aXtm8Ym9KacumIMMNS+N7/IuHjdGBRSPaUEBGAdTE7cI9FGsH35gdRTA/0VRDig==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCmC224TN6dzrlFvmujnJ99yToFhOgIUvcgUaMSHhEGfwIgAy3kOHXfAB8tIGz6l3lPURfKdz07yZZ94CeDJHMgak4="}]}}},"readme":"## What is this?\n\nkrasota.js is trying to save the world.\nIt provides the ability to carry out the syntactic transformation JavaScript code.\nConversions can be both for the protection coding style, and for more complex refactorings logic.\n\n## How to use?\n\n### Command-line\n\n*Note:* For using from command-line you should install it globally -- `npm install -g krasota`.\n\n```\n$ krasota --help\n\nUsage:\n  krasota [OPTIONS]\n\n\nOptions:\n  -h, --help : Help\n  -v, --version : Version\n  -i INPUT, --input=INPUT : Input file (default: stdin)\n  -o OUTPUT, --output=OUTPUT : Output file (default: stdout)\n  -b BEAUTIFIERS, --beautifier=BEAUTIFIERS : Local or global path to beautifier module, can be used many times\n```\n\nExamples:\n\n```\n$ krasota -i tests/split-vars.js -b krasota/lib/beautifiers/split-vars\n$ krasota -i tests/join-vars.js -b krasota/lib/beautifiers/trailing-whitespaces -b krasota/lib/beautifiers/join-vars\n$ krasota -i my-file.js -o my-beauty-file.js -b ./local/path/to/my/beautifier\n```\n\nSee below for available build-in beautifiers.\n\n### API\n\n*Note:* If you are using `krasota` _programatically_ you should not install it globally, it's enough to declare depends in `package.json`.\n\n#### COA\n\nBecause of using [COA](https://github.com/veged/coa/) all command-line interface available through `require('krasota').COA`.\nExample:\n\n```javascript\nrequire('krasota').COA\n    .invoke({\n        input: 'tests/join-vars.js',\n        beautifiers: [ 'lib/beautifiers/trailing-whitespaces', 'krasota/lib/beautifiers/join-vars' ]\n    })\n```\n\n#### OMeta\n\nYou can use `krasota` through the `require('krasota')` in terms of raw [OmetaJS](https://github.com/veged/ometa-js/)-grammas.\nTake a look to the [tests/tests.js](tests/tests.js#L11) for example of usage.\n\n## Which beautifiers are available?\n\nThere are not many proof-of-concept beautifiers, but it's complex enough for using as samples for your own.\n\n### [krasota/lib/beautifiers/always-semicolons](lib/beautifiers/always-semicolons.ometajs)\nForce insert semicolons (you know [epic thread](https://github.com/twitter/bootstrap/issues/3057)).\nExample:\n<table>\n<tr><th>before</th><th>after</th></tr>\n<tr>\n<td>\n\n<pre>\nclearMenus()\n!isActive && $parent.toggleClass('open')\n</pre>\n\n</td>\n<td>\n\n<pre>\nclearMenus();\n!isActive && $parent.toggleClass('open');\n</pre>\n\n</td>\n</tr>\n</table>\n\n\n### [krasota/lib/beautifiers/join-vars](lib/beautifiers/join-vars.ometajs)\nJoin multiply consecutive `var` statements into one `var` statement with multiply assigns.\nExample:\n<table>\n<tr><th>before</th><th>after</th></tr>\n<tr>\n<td>\n\n<pre>\nvar a = 1;\nvar b = 2;\nvar c = 3;\n</pre>\n\n</td>\n<td>\n\n<pre>\nvar a = 1,\n    b = 2,\n    c = 3;\n</pre>\n\n</td>\n</tr>\n</table>\n\n\n### [krasota/lib/beautifiers/split-vars](lib/beautifiers/split-vars.ometajs)\nSplit `var` statements with multiply assigns into multiply consecutive `var` statements.\nExample:\n<table>\n<tr><th>before</th><th>after</th></tr>\n<tr>\n<td>\n\n<pre>\nvar a = 1,\n    b = 2,\n    c = 3;\n</pre>\n\n</td>\n<td>\n\n<pre>\nvar a = 1;\nvar b = 2;\nvar c = 3;\n</pre>\n\n</td>\n</tr>\n</table>\n\n\n### [krasota/lib/beautifiers/trailing-whitespaces](lib/beautifiers/trailing-whitespaces.ometajs)\nRemove trailing whitespaces (it's pretty simple without any examples).\n\n\n## Tests\n\nRun `make tests` for tests. For development version tests run `make tests ENV=development`.\n\n## Other projects\n* https://github.com/olov/jsshaper\n* https://github.com/mishoo/UglifyJS\n* http://boshi.inimino.org/3box/PanPG/about.html\n* https://github.com/kangax/kratko.js\n* https://github.com/substack/node-burrito\n* http://esprima.org/\n* https://github.com/fawek/codepainter\n* http://fixmyjs.com\n* https://github.com/millermedeiros/esformatter\n\n## Links\n* https://developer.mozilla.org/en/SpiderMonkey/Parser_API\n* http://boshi.inimino.org/3box/PanPG/js_pp/src/js_ast.js\n* http://boshi.inimino.org/3box/asof/1269629763069/PEG/ECMAScript_unified.peg\n* http://code.google.com/p/es-lab/source/browse/trunk/src/parser/es5parser.ojs\n","maintainers":[{"name":"veged","email":"veged@mail.ru"}],"time":{"modified":"2022-06-19T09:53:41.364Z","created":"2012-04-17T03:01:23.917Z","0.1.0":"2012-04-17T03:01:26.201Z","0.1.1":"2012-04-17T22:12:08.544Z","0.1.2":"2012-04-24T08:23:01.581Z","0.1.3":"2012-04-24T08:26:51.550Z","0.1.4":"2012-04-24T08:39:14.245Z","0.1.5":"2012-04-24T08:40:57.850Z","0.1.6":"2012-04-24T09:06:56.323Z","0.1.7":"2013-10-01T14:50:19.990Z","0.1.8":"2014-07-07T18:39:13.402Z","0.1.9":"2014-07-15T14:19:22.190Z","0.2.0":"2014-10-06T00:41:51.153Z","0.2.1":"2014-10-06T01:26:32.144Z","0.2.2":"2015-10-27T16:23:48.277Z"},"author":{"name":"Sergey Berezhnoy","email":"veged@ya.ru","url":"http://github.com/veged"},"repository":{"type":"git","url":"git://github.com/veged/krasota.js.git"},"homepage":"http://github.com/veged/krasota.js","contributors":[],"bugs":{"url":"https://github.com/veged/krasota.js/issues"},"readmeFilename":"README.md","users":{"gauss02":true}}