{"_id":"gcc-rest","_rev":"38-ada3a90def5cf4f2e6de9c631948836c","name":"gcc-rest","description":"A node.js module for compiling JavaScript code using Google Closure Compiler's REST API.","dist-tags":{"latest":"0.2.5"},"versions":{"0.0.1":{"name":"gcc-rest","description":"A node.js module that allows you to easily compile Javascript code using Google Closure Compiler's REST API.","keywords":["closure compiler","gcc","rest","compile"],"version":"0.0.1","homepage":"https://github.com/BlaiseKal/GccRest","bugs":"https://github.com/BlaiseKal/GccRest/issues","files":["gcc-rest.js","LICENSE","README.md"],"main":"gcc-rest.js","author":{"name":"Blaise Kal","email":"blaisekal@gmail.com","url":"http://www.blaisekal.com/"},"repository":{"type":"git","url":"https://github.com/BlaiseKal/GccRest.git"},"_id":"gcc-rest@0.0.1","dist":{"shasum":"986ad9d1b817c4fc75b526649a08b13ca0c5380b","tarball":"https://registry.npmjs.org/gcc-rest/-/gcc-rest-0.0.1.tgz","integrity":"sha512-GawpxUO4/PyrpHVhD+opy52jI9U2BvmYobleTFQcXy5qTv9dZ2PepOU88gypT806teABNYi+9DrIFBdIXdAOQQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAW4XRRMl4Hks296DnbEwwwS55+/vst5YgJ0U3Ik6VUOAiEAxyKcnPG0L4Shwel1+xS7pdZ/soCQMbMHoWGneHXlsu4="}]},"_npmVersion":"1.1.49","_npmUser":{"name":"blaise","email":"blaisekal@gmail.com"},"maintainers":[{"name":"blaise","email":"blaisekal@gmail.com"}]},"0.0.2":{"name":"gcc-rest","description":"A node.js module that allows you to easily compile Javascript code using Google Closure Compiler's REST API.","keywords":["closure compiler","gcc","rest","compile"],"version":"0.0.2","homepage":"https://github.com/BlaiseKal/GccRest","bugs":"https://github.com/BlaiseKal/GccRest/issues","files":["gcc-rest.js","LICENSE","README.md"],"main":"gcc-rest.js","author":{"name":"Blaise Kal","email":"blaisekal@gmail.com","url":"http://www.blaisekal.com/"},"repository":{"type":"git","url":"https://github.com/BlaiseKal/GccRest.git"},"_id":"gcc-rest@0.0.2","dist":{"shasum":"717f9941aa004420617fac2f46730d225801104f","tarball":"https://registry.npmjs.org/gcc-rest/-/gcc-rest-0.0.2.tgz","integrity":"sha512-Ffmg4fqrgaFNP3xu+X7CZ93CU60xrCFABQKo+0q+mZsbcHs3VV2GH0cTKQ69YX/fm1MLeYelRMUI/BgGfpRaOw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCMFfbVqDwCyCHQXxz+QIpH2zXiLh7WollYs9sFTzGzWAIhAN2P1x9jd7fb5DEx6VkGulGr4csktBP3g/Wc4xCjd2DY"}]},"_npmVersion":"1.1.49","_npmUser":{"name":"blaise","email":"blaisekal@gmail.com"},"maintainers":[{"name":"blaise","email":"blaisekal@gmail.com"}]},"0.0.3":{"name":"gcc-rest","description":"A node.js module that allows you to easily compile Javascript code using Google Closure Compiler's REST API.","keywords":["closure compiler","gcc","rest","compile"],"version":"0.0.3","homepage":"https://github.com/BlaiseKal/GccRest","bugs":"https://github.com/BlaiseKal/GccRest/issues","files":["gcc-rest.js","LICENSE","README.md"],"main":"gcc-rest.js","author":{"name":"Blaise Kal","email":"blaisekal@gmail.com","url":"http://www.blaisekal.com/"},"repository":{"type":"git","url":"https://github.com/BlaiseKal/GccRest.git"},"_id":"gcc-rest@0.0.3","dist":{"shasum":"1b3ceacf679b3561632b184a6bc8ba7f25441154","tarball":"https://registry.npmjs.org/gcc-rest/-/gcc-rest-0.0.3.tgz","integrity":"sha512-mSkv0Z7wusvPHWcGDKdGFwN3ANVMA9VuhbSJG8uoi57vueHYqKLsfzppD0RS/ySgjzha8y5WEDn8THpblYr2dQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBGbGGl9d4ctbJpAhPG9Jy7sGb/WDykpwPRvfnaRblSlAiAG3Tm3lSxr/POOfbdxV0uIM2NIOt+f2RmHa1+KboN91A=="}]},"_npmVersion":"1.1.49","_npmUser":{"name":"blaise","email":"blaisekal@gmail.com"},"maintainers":[{"name":"blaise","email":"blaisekal@gmail.com"}]},"0.1.0":{"name":"gcc-rest","description":"A node.js module that allows you to easily compile Javascript code using Google Closure Compiler's REST API.","keywords":["closure compiler","gcc","rest","compile"],"version":"0.1.0","homepage":"https://github.com/BlaiseKal/GccRest","bugs":"https://github.com/BlaiseKal/GccRest/issues","files":["gcc-rest.js","LICENSE","README.md"],"main":"gcc-rest.js","author":{"name":"Blaise Kal","email":"blaisekal@gmail.com","url":"http://www.blaisekal.com/"},"repository":{"type":"git","url":"https://github.com/BlaiseKal/GccRest.git"},"_id":"gcc-rest@0.1.0","dist":{"shasum":"9f137b5e4d2237fe2eec70f873014da26993af08","tarball":"https://registry.npmjs.org/gcc-rest/-/gcc-rest-0.1.0.tgz","integrity":"sha512-qnZXdr0DfEPzfvkcIFxXy+9rrrW+xxz8dWEPzKV/4/GNc1/8bLi45MfH3Qj2VUGT6EBIo7uvtht+jvHPxSf1Xg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFdORbxymf/Jf/arpRscjexoji5G9d7w+iQm+R8AMtydAiEAtxgy2nza4d5woSStLEf4edbXYLn2pU0VXPfRehEg/xo="}]},"_npmVersion":"1.1.49","_npmUser":{"name":"blaise","email":"blaisekal@gmail.com"},"maintainers":[{"name":"blaise","email":"blaisekal@gmail.com"}]},"0.1.1":{"name":"gcc-rest","description":"A node.js module that allows you to easily compile Javascript code using Google Closure Compiler's REST API.","keywords":["closure compiler","gcc","rest","compile"],"version":"0.1.1","homepage":"https://github.com/blaise-io/gcc-rest.git","bugs":"https://github.com/blaise-io/gcc-rest/issues","files":["gcc-rest.js","LICENSE","README.md"],"main":"gcc-rest.js","author":{"name":"Blaise Kal","email":"blaisekal@gmail.com","url":"http://blaise.io/"},"repository":{"type":"git","url":"https://github.com/blaise-io/gcc-rest.git"},"_id":"gcc-rest@0.1.1","dist":{"shasum":"13b21265bb0bc1e392c9e209cd78fb29407660e1","tarball":"https://registry.npmjs.org/gcc-rest/-/gcc-rest-0.1.1.tgz","integrity":"sha512-BBDG5nN08G6qSDSvTDD/IoktxuKkR+N9mFQyMxPaP3+zR6oC5KV26+zjV8UHSBsivwOrXmYX/lV0/cRzQ8Tzag==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBmF05ORCjrC4zM2Pm7IW0L7GPp+lK0JN0OkoWjCm+8CAiEAqBYXcdBjXna60nGqYaUJ4TsvuWFxN12kaqrVxeQTTos="}]},"_npmVersion":"1.1.59","_npmUser":{"name":"blaise","email":"blaisekal@gmail.com"},"maintainers":[{"name":"blaise","email":"blaisekal@gmail.com"}]},"0.1.2":{"name":"gcc-rest","description":"A node.js module that allows you to easily compile Javascript code using Google Closure Compiler's REST API.","keywords":["closure compiler","gcc","rest","compile"],"version":"0.1.2","homepage":"https://github.com/blaise-io/gcc-rest.git","bugs":"https://github.com/blaise-io/gcc-rest/issues","files":["gcc-rest.js","LICENSE","README.md"],"main":"gcc-rest.js","author":{"name":"Blaise Kal","email":"blaisekal@gmail.com","url":"http://blaise.io/"},"repository":{"type":"git","url":"https://github.com/blaise-io/gcc-rest.git"},"_id":"gcc-rest@0.1.2","dist":{"shasum":"12297291e31e0322227b507fdbd83920f71dc4b7","tarball":"https://registry.npmjs.org/gcc-rest/-/gcc-rest-0.1.2.tgz","integrity":"sha512-iE5AhJPkl1hlA6EEX8wpmC8w3aCsm/krIc68K7U9Yywpf/r6OhHx76lCrRfc5NiKmLPsdGa+yDq7Jn8VW8zKgA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHZRSoDfpBvLgW4ylhG17X975J1TWb3pu6KVFgPb77EmAiEAkSeqRV77qjPO+UwK1rBETQ+I5/sKpTXqyPvvTs+SlgQ="}]},"_npmVersion":"1.1.59","_npmUser":{"name":"blaise","email":"blaisekal@gmail.com"},"maintainers":[{"name":"blaise","email":"blaisekal@gmail.com"}]},"0.1.3":{"name":"gcc-rest","description":"A node.js module that allows you to easily compile Javascript code using Google Closure Compiler's REST API.","keywords":["closure compiler","gcc","rest","compile"],"version":"0.1.3","homepage":"https://github.com/blaise-io/gcc-rest.git","bugs":"https://github.com/blaise-io/gcc-rest/issues","files":["gcc-rest.js","LICENSE","README.md"],"main":"gcc-rest.js","author":{"name":"Blaise Kal","email":"blaisekal@gmail.com","url":"http://blaise.io/"},"repository":{"type":"git","url":"https://github.com/blaise-io/gcc-rest.git"},"_id":"gcc-rest@0.1.3","dist":{"shasum":"86a4f0d640535f234fdc3a46029181ca289c00a0","tarball":"https://registry.npmjs.org/gcc-rest/-/gcc-rest-0.1.3.tgz","integrity":"sha512-Mlu2iDAL1GJYwVLw2Q0IkvK8bdyB4rKzJ5mCPOcVQTl16MLrhkab3McPGZ6Og/dI3ExBJYkyXMHXQaIO+do/cw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDOzN1cqyl8bMLQ9p9LzmPaMsv67Y9GiG39EiN8fXZWugIgQIek+bLV7MCBhzmqqUvo/io+cZelYQiHp5hn8mw8aLA="}]},"maintainers":[{"name":"blaise","email":"blaisekal@gmail.com"}]},"0.1.4":{"name":"gcc-rest","description":"A node.js module that allows you to easily compile Javascript code using Google Closure Compiler's REST API.","keywords":["closure compiler","gcc","rest","compile"],"version":"0.1.4","homepage":"https://github.com/blaise-io/gcc-rest.git","bugs":"https://github.com/blaise-io/gcc-rest/issues","files":["gcc-rest.js","LICENSE","README.md"],"main":"gcc-rest.js","author":{"name":"Blaise Kal","email":"blaisekal@gmail.com","url":"http://blaise.io/"},"repository":{"type":"git","url":"https://github.com/blaise-io/gcc-rest.git"},"_id":"gcc-rest@0.1.4","dist":{"shasum":"c9fbad7782d4c7e2cb3776bcc31c8c75022a5d27","tarball":"https://registry.npmjs.org/gcc-rest/-/gcc-rest-0.1.4.tgz","integrity":"sha512-BSC0ZIDeucDCPd3iqn4is98SfQyba+rmQSpIJUf1jNTwX/Kkrs8Bv9MjlaQOFTP+rcmJp9E1NZppLAuu7Op/+w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC2tZdJbHPpOqLFNsz4laoW8L9o70+aXLi+oRYjZaHELwIhAP8SLmQEvb4qM36ke9/sHl/3LZtbekJ6GyuPAzr+b3fW"}]},"_npmVersion":"1.1.59","_npmUser":{"name":"blaise","email":"blaisekal@gmail.com"},"maintainers":[{"name":"blaise","email":"blaisekal@gmail.com"}]},"0.1.5":{"name":"gcc-rest","description":"A node.js module that allows you to easily compile Javascript code using Google Closure Compiler's REST API.","keywords":["closure compiler","gcc","rest","compile"],"version":"0.1.5","homepage":"https://github.com/blaise-io/gcc-rest.git","bugs":"https://github.com/blaise-io/gcc-rest/issues","files":["gcc-rest.js","LICENSE","README.md"],"main":"gcc-rest.js","author":{"name":"Blaise Kal","email":"blaisekal@gmail.com","url":"http://blaise.io/"},"repository":{"type":"git","url":"https://github.com/blaise-io/gcc-rest.git"},"_id":"gcc-rest@0.1.5","dist":{"shasum":"abab353eb1b9259b55e981a3972d720a4e3478ce","tarball":"https://registry.npmjs.org/gcc-rest/-/gcc-rest-0.1.5.tgz","integrity":"sha512-H5/s9sf0tB9+iWccbvuamX6vBORcR4XBaAsf8zEc0gfFvTZjz36FlQveKyfcrSL42je9R+727vQ61g1xVL332w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCQVQWO386OTqLzFvgEc9hjifWz7l4pY5euguoWBth2BwIgb3Yocmu90rDTTLJJueE0PBe5xsWCRTER6gJjRlE39aI="}]},"maintainers":[{"name":"blaise","email":"blaisekal@gmail.com"}]},"0.1.6":{"name":"gcc-rest","description":"A node.js module that allows you to easily compile Javascript code using Google Closure Compiler's REST API.","keywords":["closure compiler","gcc","rest","compile"],"version":"0.1.6","homepage":"https://github.com/blaise-io/gcc-rest.git","bugs":"https://github.com/blaise-io/gcc-rest/issues","files":["gcc-rest.js","LICENSE","README.md"],"main":"gcc-rest.js","author":{"name":"Blaise Kal","email":"blaisekal@gmail.com","url":"http://blaise.io/"},"repository":{"type":"git","url":"https://github.com/blaise-io/gcc-rest.git"},"_id":"gcc-rest@0.1.6","dist":{"shasum":"0299179bc543f82c832df24bacc3ef01f34a59ef","tarball":"https://registry.npmjs.org/gcc-rest/-/gcc-rest-0.1.6.tgz","integrity":"sha512-m7Jueissq2YqWANQot9jCuy9xOFOR66UssO0wXW/V/NJhgSMVUishHYKFovmFymPZU8gO8HvBQOb7XlBSX4LWw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFFwMVNfl6XS4yV1FhRmS2QzeqOW8CFFHuGoK+5MHbGZAiEAhbeR/Pxb0juJ1/vDkc9TmUAR9uYsv1FmyxEstQXz2q0="}]},"_npmVersion":"1.1.59","_npmUser":{"name":"blaise","email":"blaisekal@gmail.com"},"maintainers":[{"name":"blaise","email":"blaisekal@gmail.com"}]},"0.2.0":{"name":"gcc-rest","description":"A node.js module for compiling JavaScript code using Google Closure Compiler's REST API.","keywords":["closure compiler","gcc","rest","compile"],"version":"0.2.0","license":"MIT","homepage":"https://github.com/blaise-io/gcc-rest.git","bugs":{"url":"https://github.com/blaise-io/gcc-rest/issues"},"files":["gcc-rest.js","LICENSE","README.md"],"main":"gcc-rest.js","author":{"name":"Blaise Kal","email":"blaisekal@gmail.com","url":"http://blaise.io/"},"repository":{"type":"git","url":"https://github.com/blaise-io/gcc-rest.git"},"devDependencies":{"mocha":"1.x"},"engines":{"node":">= 0.6"},"scripts":{"test":"mocha -R spec"},"_id":"gcc-rest@0.2.0","dist":{"shasum":"1e7b8d25007373a7461ddba3f5801cd09b6b288b","tarball":"https://registry.npmjs.org/gcc-rest/-/gcc-rest-0.2.0.tgz","integrity":"sha512-+6GGhVcvdA0QKDpT7P+HD2KetuFz8c+0rddtujdwMErF946JVB0BTJDOeJkmBloCMnMBU8DsS6PPuxZmlKuTmw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGTjifi5nPnvyQ6/Juf9fJ01MjbKqNkWHgh4s00vmDaJAiBB58IokyDcNh2yrDzAAZx3Pofk4lV0FB7k6zOv5D5n+w=="}]},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"blaise","email":"blaisekal@gmail.com"},"maintainers":[{"name":"blaise","email":"blaisekal@gmail.com"}]},"0.2.1":{"name":"gcc-rest","description":"A node.js module for compiling JavaScript code using Google Closure Compiler's REST API.","keywords":["closure compiler","gcc","rest","compile"],"version":"0.2.1","license":"MIT","homepage":"https://github.com/blaise-io/gcc-rest.git","bugs":{"url":"https://github.com/blaise-io/gcc-rest/issues"},"files":["gcc-rest.js","LICENSE","README.md"],"main":"gcc-rest.js","author":{"name":"Blaise Kal","email":"blaisekal@gmail.com","url":"http://blaise.io/"},"repository":{"type":"git","url":"https://github.com/blaise-io/gcc-rest.git"},"devDependencies":{"mocha":"1.x"},"engines":{"node":">= 0.6"},"scripts":{"test":"mocha -R spec"},"_id":"gcc-rest@0.2.1","dist":{"shasum":"8b311b6c06d92bd211ff897b6180709e9a842e6a","tarball":"https://registry.npmjs.org/gcc-rest/-/gcc-rest-0.2.1.tgz","integrity":"sha512-lq/zJe1y6clh861jjXBD3LdhjyC2fqUtIkcaEog8WKvwcWCOBgSbmWUDsrhVryg2Pctdu7uYS6y/1Tkm4Jlysw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFZkoLilZii8jQn5BpO+oLg+AfsPsurvgr43qUdxBlwzAiB5TSjYxGRERaKUfbp2B1PUoNUE0k4rStx0MEnvOY9k4g=="}]},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"blaise","email":"blaisekal@gmail.com"},"maintainers":[{"name":"blaise","email":"blaisekal@gmail.com"}]},"0.2.3":{"name":"gcc-rest","description":"A node.js module for compiling JavaScript code using Google Closure Compiler's REST API.","keywords":["closure compiler","gcc","rest","compile"],"version":"0.2.3","license":"MIT","homepage":"https://github.com/blaise-io/gcc-rest.git","bugs":{"url":"https://github.com/blaise-io/gcc-rest/issues"},"files":["gcc-rest.js","LICENSE","README.md"],"main":"gcc-rest.js","author":{"name":"Blaise Kal","email":"blaisekal@gmail.com","url":"http://blaise.io/"},"repository":{"type":"git","url":"https://github.com/blaise-io/gcc-rest.git"},"devDependencies":{"mocha":"1.x"},"engines":{"node":">= 0.6"},"scripts":{"test":"mocha -R spec"},"_id":"gcc-rest@0.2.3","dist":{"shasum":"0f11b79e5a57627975129b733fc3854cd74f6f4c","tarball":"https://registry.npmjs.org/gcc-rest/-/gcc-rest-0.2.3.tgz","integrity":"sha512-hqE8SLRuF4XGS/nxKRTbpsv/eUBDwaW0iFGU3rSbZDE6rDMY5EUqjse/a6/ccXEcjtKB0/kR1GSKTFU/e/5EvA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFIkQWqawQhPPdXy9I4gBBqqE4z8AgRjC2SWO6bhqXCKAiEA5cHnK0+Ucab9SZYXnYZRUMKAiIsesrK6udU1PmZQeAI="}]},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"blaise","email":"blaisekal@gmail.com"},"maintainers":[{"name":"blaise","email":"blaisekal@gmail.com"}]},"0.2.4":{"name":"gcc-rest","description":"A node.js module for compiling JavaScript code using Google Closure Compiler's REST API.","keywords":["closure compiler","gcc","rest","compile"],"version":"0.2.4","license":"MIT","homepage":"https://github.com/blaise-io/gcc-rest.git","bugs":{"url":"https://github.com/blaise-io/gcc-rest/issues"},"files":["gcc-rest.js","LICENSE","README.md"],"main":"gcc-rest.js","author":{"name":"Blaise Kal","email":"blaisekal@gmail.com","url":"http://blaise.io/"},"repository":{"type":"git","url":"https://github.com/blaise-io/gcc-rest.git"},"devDependencies":{"mocha":"1.x"},"engines":{"node":">= 0.6"},"scripts":{"test":"mocha -R spec"},"_id":"gcc-rest@0.2.4","dist":{"shasum":"97bf412a55ea1101c93d18e8dd63c73f22b9a8a2","tarball":"https://registry.npmjs.org/gcc-rest/-/gcc-rest-0.2.4.tgz","integrity":"sha512-OPOQMaarf/fNy8D4RhhvIAD4qUvkM25NosO+uIIs9kH71XHmAgEt3LoXtKXpH7d3nf7DONNTAqFvQpFw7ccISQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIExRBNTXvvbu+iD5ND7eo83dYLoVIOc5q1CZgYnfyTTFAiARWufghSrZFv1ATnrAXu5DUd7Ht6U09XeHN6SR6tiZng=="}]},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"blaise","email":"blaisekal@gmail.com"},"maintainers":[{"name":"blaise","email":"blaisekal@gmail.com"}]},"0.2.5":{"name":"gcc-rest","description":"A node.js module for compiling JavaScript code using Google Closure Compiler's REST API.","keywords":["closure compiler","gcc","rest","compile"],"version":"0.2.5","license":"MIT","homepage":"https://github.com/blaise-io/gcc-rest.git","bugs":{"url":"https://github.com/blaise-io/gcc-rest/issues"},"files":["gcc-rest.js","LICENSE","README.md"],"main":"gcc-rest.js","author":{"name":"Blaise Kal","email":"blaisekal@gmail.com","url":"http://blaise.io/"},"repository":{"type":"git","url":"https://github.com/blaise-io/gcc-rest.git"},"devDependencies":{"mocha":"1.x"},"engines":{"node":">= 0.6"},"scripts":{"test":"mocha -R spec"},"_id":"gcc-rest@0.2.5","dist":{"shasum":"14b2931ca925982f7928e52e8441a863a4644496","tarball":"https://registry.npmjs.org/gcc-rest/-/gcc-rest-0.2.5.tgz","integrity":"sha512-DUZZGBS0Htql+zdKjo7rX/LRfPXKTcSqvsqJ8PUClCx3MyrtUWSQrS9mMAxdDgDPR96UVU0gjmaZCnMenMEtSw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGJYJRbU79/gpp+MVLQV+MrZHyjWKyLTIWUgBQ/RU6JYAiEA3Juj9bF4lPSUB6VeHc9qx0O6l9rkPHcrQIC33ToG9JY="}]},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"blaise","email":"blaisekal@gmail.com"},"maintainers":[{"name":"blaise","email":"blaisekal@gmail.com"}]}},"readme":"# gcc-rest [![Build Status](https://travis-ci.org/blaise-io/gcc-rest.png?branch=master)](https://travis-ci.org/blaise-io/gcc-rest)\nA node.js module for compiling JavaScript code using Google Closure Compiler's REST API.\n\n[This library is also available as a Grunt plugin](https://github.com/blaise-io/grunt-gcc-rest).\n\n## How to install\n```shell\nnpm install gcc-rest\n```\n\n## How to use\n\n### Basic example\n\nCompile file1.js and file2.js and write it to compiled.js\n\n```js\nvar gcc = require('gcc-rest');\ngcc.addFiles('/path/to/file1.js', '/path/to/file2.js');\ngcc.output('/path/to/compiled.js');\n```\n\nIf you're into chaining; this does the same:\n\n```js\nrequire('gcc-rest')\n   .addFiles('/path/to/file1.js', '/path/to/file2.js')\n   .output('/path/to/compiled.js');\n```\n\n*Note:* Closing methods that perform compiling (`output`, `compile` and `compilePassJson`) cannot be chained.\n\nAn advanced example:\n\n```js\n// Load gcc-rest module\nvar gcc = require('gcc-rest');\n\n// Set Closure Compiler parameters\ngcc.params({\n    output_info      : ['compiled_code', 'errors', 'warnings', 'statistics'],\n    language         : 'ECMASCRIPT5_STRICT',\n    compilation_level: 'ADVANCED_OPTIMIZATIONS',\n    warning_level    : 'VERBOSE'\n});\n\n// Add files that should be compiled\ngcc.addFiles(\n    'js/config.js',\n    'js/utils.js',\n    'js/main.js'\n);\n\n// Replace code before compiling\ngcc.replace(/'use strict';/g, '');\n\n// Compile and write output to compiled.js,\n// Handle errors when something goes wrong.\ngcc.output('compiled/compiled.js', function(errorType, errorDetails) {\n    console.error('Something went wrong:', errorType, errorDetails);\n});\n```\n\n### Adding code that should be compiled\n\nAdd a single file:\n\n```js\ngcc.addFile('/path/to/file.js');\n```\n\nAdd multiple files:\n\n```js\ngcc.addFiles('/path/to/file1.js', '/path/to/file2.js', ...);\n```\n\nAdd a directory of Javascript files:\n\n```js\n// Use the optional second argument to pass an array of files\n// that should be excluded when scanning the dir.\ngcc.addDir('/path/to/dir', ['exclude1.js', 'exclude2.js']);\n```\n\nManually add a snippet of Javascript:\n\n```js\ngcc.addCode('alert(\"The crocodile must be green\");');\n```\n\nReplace code before compiling:\n\n```js\ngcc.replace(/\"console\\.log\\(.*\\);\"/g, ''); // Removes all console.log statements\n```\n\n### Compiler request parameters\n\n[Documentation on Google Closure Compiler's request parameters can be found here](https://developers.google.com/closure/compiler/docs/api-ref).\nThe [additional web service options](http://code.google.com/p/closure-compiler/wiki/AdditionalWebserviceOptions) are also supported.\nUnsupported parameters will print a warning. gcc-rest does not overwrite Google Closure Compiler's default settings.\n\nSet a Google Closure Compiler request parameter:\n\n```js\ngcc.param('warning_level', 'VERBOSE');\n```\n\nOr set multiple request parameters at once:\n\n```js\ngcc.params({\n    language                  : 'ECMASCRIPT5_STRICT',\n    warning_level             : 'VERBOSE',\n    use_types_for_optimization: 'true'\n});\n```\n\n### Handling the compiled output\n\nOutput to a file:\n\n```js\ngcc.output('/path/to/compiled.js');\n```\n\nYou may also pass the compiled source to a callback function. The compiled source is passed as the first parameter.\n\nUse a callback function by supplying a function reference:\n\n```js\ngcc.compile(console.log);\n```\n\nOr an anonymous function:\n\n```js\ngcc.compile(function(compiledStr) {\n    require('fs').writeFile('path/to/myfile.js', compiledStr);\n});\n```\n\nAccess the unmodified Json response from Google Closure Compiler by calling `compilePassJson()`:\n\n```js\ngcc.compilePassJson(function(json) {\n    console.log(json);\n    // json contains objects like compiledCode, errors, warnings, statistics\n    // see output_format > json at https://developers.google.com/closure/compiler/docs/api-ref\n});\n```\n\nPrepend the compiled source with a header:\n\n```js\ngcc.header('// This file was compiled using Google Closure Compiler\\n');\n```\n\n### Handling errors\n\nHandle errors by supplying an error handling function to the second argument of `output`, `compile` or `compilePassJson`.\nThis function will be called when something goes wrong.\nThe error handling function accepts two parameters, `errorType` and `errorDetails`.\n\n`errorType` provides on of these error types:\n\n - `service_error`: The Google Closure Compiler REST API could not process the request.\n   [Check the compiler docs for details.](https://developers.google.com/closure/compiler/docs/api-ref#errors).\n - `request_error`: The HTTP request could not be sent to the API.\n - `server_error`: The HTTP response did not return a `200: Success` status.\n    Please note that the API will return a `200: Success` when a `service_error` occurs.\n\n`errorDetails` provides (unstructured) detailed information.\n\nExample:\n\n```js\ngcc.output('/path/to/compiled.js', function(errorType, errorDetails) {\n    // Error handling code\n});\n\ngcc.compile(function(compiledStr) {\n    // Compiled string handling code\n}, function(errorType, errorDetails) {\n    // Error handling code\n});\n\ngcc.compilePassJson(function(json) {\n    // Json handling code\n}, function(errorType, errorDetails) {\n    // Error handling code\n};\n```\n\n## Custom logging\n\nBy default, gcc-rest uses the `console` object for logging. If you want, you can\noverwrite `gcc.console.info`, `gcc.console.warn` and `gcc.console.error` with\nyour own functions. Example:\n\n```js\ngcc.console.error = function() {\n    fs.appendFile('error.log', arguments.join(', '));\n}\n```\n\n## Unit testing\n\n1. Clone from GitHub\n1. Run `npm install` to install the Mocha test framework\n1. Run `npm test`\n\n## Update history\n\n * 2014-03-06: v0.2.5 Provider better error handling functionality documentation\n * 2014-03-06: v0.2.4 Provider better error handling functionality\n * 2013-12-01: v0.2.3 Consistency in error/warning logging\n * 2013-08-08: v0.2.0 Add tests, travis, allow overwriting console\n * 2013-04-07: v0.1.6 Allow chaining after the `addDir` method\n * 2013-02-02: v0.1.5 Add `addDir` method\n * 2013-01-12: v0.1.4 Fix issue where no header prepends \"undefined\" to output\n * 2013-01-05: v0.1.3 Add support for debug parameter\n * 2012-12-30: v0.1.2 Add support for use_types_for_optimization parameter\n * 2012-10-02: v0.0.3 Prevent module cache\n * 2012-10-02: v0.0.1 Initial release\n\n## License\ngcc-rest is released under the MIT License.\n","maintainers":[{"name":"blaise","email":"blaisekal@gmail.com"}],"time":{"modified":"2022-06-18T05:05:58.888Z","created":"2012-10-02T16:08:26.250Z","0.0.1":"2012-10-02T16:08:27.939Z","0.0.2":"2012-10-02T16:36:10.716Z","0.0.3":"2012-10-03T17:02:51.668Z","0.1.0":"2012-10-17T09:54:08.193Z","0.1.1":"2012-12-26T14:37:17.957Z","0.1.2":"2012-12-30T20:50:35.239Z","0.1.3":"2013-01-04T23:12:39.058Z","0.1.4":"2013-01-12T21:26:11.515Z","0.1.5":"2013-02-02T13:43:00.251Z","0.1.6":"2013-04-07T12:01:32.356Z","0.2.0":"2013-09-08T15:21:56.300Z","0.2.1":"2013-09-08T15:34:28.297Z","0.2.3":"2013-12-01T19:37:06.634Z","0.2.4":"2014-03-06T15:10:48.983Z","0.2.5":"2014-03-06T15:37:37.920Z"},"author":{"name":"Blaise Kal","email":"blaisekal@gmail.com","url":"http://blaise.io/"},"repository":{"type":"git","url":"https://github.com/blaise-io/gcc-rest.git"},"homepage":"https://github.com/blaise-io/gcc-rest.git","keywords":["closure compiler","gcc","rest","compile"],"bugs":{"url":"https://github.com/blaise-io/gcc-rest/issues"},"license":"MIT","readmeFilename":"readme.md","users":{"blaise":true}}