{"_id":"common.js","_rev":"45-638cef7207e25bbc7e7c1523363bbf8d","name":"common.js","description":"A CommonJS preprocessor and client-side lib","dist-tags":{"latest":"1.1.1"},"versions":{"0.0.0":{"name":"common.js","version":"0.0.0","description":"A CommonJS preprocessor and client-side lib","main":"lib/index.js","bin":{"common.js":"main.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/UmbraEngineering/commonjs.js.git"},"keywords":["commonjs","browser"],"author":{"name":"James Brumond","email":"james@jbrumond.me","url":"http://www.jbrumond.me"},"license":"MIT","_id":"common.js@0.0.0","dist":{"shasum":"aa1855701e6ab686fb4791a0dc79f356d4fb85ea","tarball":"https://registry.npmjs.org/common.js/-/common.js-0.0.0.tgz","integrity":"sha512-xTgdrGbA2+4SpPxKPC+sqxjhfWl8qtNVgmIHg1VN51M6p+4DtJONmJHWWWhPWNSQIedHL3mwPjz6Ph4p5FwdkQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDkShAgwQXXcIRfd9DlZhqXAIZ1QRX3ly3jlRFCML34XAiB3xGcKqXZYR7nMiJ6tPxqwUDEeNJWaYpVgJe4Wk6rWHQ=="}]},"_npmVersion":"1.1.65","_npmUser":{"name":"k","email":"kbjr14@gmail.com"},"maintainers":[{"name":"k","email":"kbjr14@gmail.com"}],"directories":{}},"0.0.2":{"name":"common.js","version":"0.0.2","description":"A CommonJS preprocessor and client-side lib","main":"lib/index.js","bin":{"commonjs":"main.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/UmbraEngineering/commonjs.js.git"},"keywords":["commonjs","browser"],"author":{"name":"James Brumond","email":"james@jbrumond.me","url":"http://www.jbrumond.me"},"license":"MIT","dependencies":{"wrench":"~1.5.4","async":"~0.2.9","commander":"~2.0.0","pkg":"0.0.1-1"},"_id":"common.js@0.0.2","dist":{"shasum":"853925aa0bee7200c7e9ff54fd2e3ab35f2ecdd4","tarball":"https://registry.npmjs.org/common.js/-/common.js-0.0.2.tgz","integrity":"sha512-wmJaa6x11WiHJLXDvktGpaE3t+eSQPmucVP4z9cbzb450Wy8XecppzeCra4ZM4Tk6ZJiAgtYdJO7xe1+RjFX3Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCkNKOvEhu0iJWlbb864ldQfY6RcKcF91NjACiTnRNBkgIhANGbwbYSeC6UW2aAXb0PISh0lBqQ1miB1SjMLwI37gPQ"}]},"_npmVersion":"1.1.65","_npmUser":{"name":"k","email":"kbjr14@gmail.com"},"maintainers":[{"name":"k","email":"kbjr14@gmail.com"}],"directories":{}},"0.0.3":{"name":"common.js","version":"0.0.3","description":"A CommonJS preprocessor and client-side lib","main":"lib/index.js","bin":{"commonjs":"bin/main.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/UmbraEngineering/common.js.git"},"keywords":["commonjs","browser"],"author":{"name":"James Brumond","email":"james@jbrumond.me","url":"http://www.jbrumond.me"},"license":"MIT","dependencies":{"wrench":"~1.5.4","async":"~0.2.9","commander":"~2.0.0"},"_id":"common.js@0.0.3","dist":{"shasum":"e84320421292e6660265c506511d291e0b41bfb6","tarball":"https://registry.npmjs.org/common.js/-/common.js-0.0.3.tgz","integrity":"sha512-NvmgIrLvKQDREtYIRIWX4DaKEqsn4kNSlYfiWZgiFq37I7mqAq9rSNAU0vRFfUUOwvEO2M2q5jcwlLh/13a8fw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBy1wkFn+yy8HPzZHA9wbjEOC6EpUeOvKWplFxwOio6zAiBOmTMxrEqgLPsw+zfyGvQme+llPlcBcCoAgOnMMwgjMg=="}]},"_npmVersion":"1.1.65","_npmUser":{"name":"k","email":"kbjr14@gmail.com"},"maintainers":[{"name":"k","email":"kbjr14@gmail.com"}],"directories":{}},"1.0.0":{"name":"common.js","version":"1.0.0","description":"A CommonJS preprocessor and client-side lib","main":"lib/index.js","bin":{"commonjs":"bin/main.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/UmbraEngineering/common.js.git"},"keywords":["commonjs","browser"],"author":{"name":"James Brumond","email":"james@jbrumond.me","url":"http://www.jbrumond.me"},"license":"MIT","dependencies":{"wrench":"~1.5.4","async":"~0.2.9","commander":"~2.0.0"},"_id":"common.js@1.0.0","dist":{"shasum":"37ba79c8a9935ec9c75c633db93d2666fcbad570","tarball":"https://registry.npmjs.org/common.js/-/common.js-1.0.0.tgz","integrity":"sha512-Zbtxrbgqm4TfHRmaqAqvISmXmBDs5WxmwceOm5b+8NDxmclhvbJNADEAhB+Psbso0a7uQYFQ6h9iarm9OBn8fQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC2+FeKMO/Y2QmC2MkOlqVqyXOpHTCVuIZqTKZDqq/2iAIhANuD5hsZ9MJA/837FBWOXIO2rFLDh/lHBpgZn+bXPlMQ"}]},"_npmVersion":"1.1.65","_npmUser":{"name":"k","email":"kbjr14@gmail.com"},"maintainers":[{"name":"k","email":"kbjr14@gmail.com"}],"directories":{}},"1.0.1":{"name":"common.js","version":"1.0.1","description":"A CommonJS preprocessor and client-side lib","main":"lib/index.js","bin":{"commonjs":"bin/main.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/UmbraEngineering/common.js.git"},"keywords":["commonjs","browser"],"author":{"name":"James Brumond","email":"james@jbrumond.me","url":"http://www.jbrumond.me"},"license":"MIT","dependencies":{"wrench":"~1.5.4","async":"~0.2.9","commander":"~2.0.0"},"_id":"common.js@1.0.1","dist":{"shasum":"ccd519955406f85b957f31736c826182e1060579","tarball":"https://registry.npmjs.org/common.js/-/common.js-1.0.1.tgz","integrity":"sha512-eolXwpvncnUmMmEYhOELRevrxZGfVykb6gisJLTkmuuUhGX67iKeS+axGUIY/zx7p2H/VYlCdesXbkV5zHjW3w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCln0MNsPOeAexBYa5RkWMSru2NfPcl2jkKBEfxXS2iOQIgLX4l9aAkoU9WYNWOVLU9KZlF/IvcjlwwRB7bt04MUPg="}]},"_npmVersion":"1.1.65","_npmUser":{"name":"k","email":"kbjr14@gmail.com"},"maintainers":[{"name":"k","email":"kbjr14@gmail.com"}],"directories":{}},"1.0.2":{"name":"common.js","version":"1.0.2","description":"A CommonJS preprocessor and client-side lib","main":"lib/index.js","bin":{"commonjs":"bin/main.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/UmbraEngineering/common.js.git"},"keywords":["commonjs","browser"],"author":{"name":"James Brumond","email":"james@jbrumond.me","url":"http://www.jbrumond.me"},"license":"MIT","dependencies":{"wrench":"~1.5.4","async":"~0.2.9","commander":"~2.0.0"},"_id":"common.js@1.0.2","dist":{"shasum":"76262139a63a2b79f6f6c456df63a7453e8b774b","tarball":"https://registry.npmjs.org/common.js/-/common.js-1.0.2.tgz","integrity":"sha512-cCPL2Yp47hL1QqRRBmN6WwgApB32ksdJFPvEdchPhueFjWtoUFfzrpJwmVfuvUoGaYUYIIsUZeTAOo7zoQ6dDg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD4aRogh8efaChhLKnJfGwsyZM7bmA1CivNB3H1YoVIUAIhAPiFiA2tZ95B4ZhxCkPTlulGmrHitBBHgBBbCUwGbrWh"}]},"_npmVersion":"1.1.65","_npmUser":{"name":"k","email":"kbjr14@gmail.com"},"maintainers":[{"name":"k","email":"kbjr14@gmail.com"}],"directories":{}},"1.0.3":{"name":"common.js","version":"1.0.3","description":"A CommonJS preprocessor and client-side lib","main":"lib/index.js","bin":{"commonjs":"bin/main.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/UmbraEngineering/common.js.git"},"keywords":["commonjs","browser"],"author":{"name":"James Brumond","email":"james@jbrumond.me","url":"http://www.jbrumond.me"},"license":"MIT","dependencies":{"wrench":"~1.5.4","async":"~0.2.9","commander":"~2.0.0"},"_id":"common.js@1.0.3","dist":{"shasum":"6b7ae0652ba7a98dd97d0be5846294cc93644127","tarball":"https://registry.npmjs.org/common.js/-/common.js-1.0.3.tgz","integrity":"sha512-6LSoFVrsdN3pruKQ+ZQ66nrBMmeIwecEEWh2itpwFPV1Rb62vRioadPmOP3FfAxOd7W1dxz4qbpcrXJcehr4Kg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGAE+Vvy5H0iw0ARo1CO+wtQNUt30MvWDlNiwTfS1ZFxAiEA3hz2IQvahdrH0GPYtEGjQNk51EAFUJNUS30TvsVHCLU="}]},"_npmVersion":"1.1.65","_npmUser":{"name":"k","email":"kbjr14@gmail.com"},"maintainers":[{"name":"k","email":"kbjr14@gmail.com"}],"directories":{}},"1.0.4":{"name":"common.js","version":"1.0.4","description":"A CommonJS preprocessor and client-side lib","main":"lib/index.js","bin":{"commonjs":"bin/main.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/UmbraEngineering/common.js.git"},"keywords":["commonjs","browser"],"author":{"name":"James Brumond","email":"james@jbrumond.me","url":"http://www.jbrumond.me"},"license":"MIT","dependencies":{"wrench":"~1.5.4","async":"~0.2.9","commander":"~2.0.0"},"_id":"common.js@1.0.4","dist":{"shasum":"0ea0ee0be5a17397e7849750e4c5952eeb70a467","tarball":"https://registry.npmjs.org/common.js/-/common.js-1.0.4.tgz","integrity":"sha512-pgTXpMd5q03G11pnm1z7nnXmWYDY+3Ug+xaFzQWyKJMq0BtCk2gTCltwe0V4S5ZauvDnGnF5armH/nCIq3vqzQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAq6/QKZzihEK2whAN6rt58MejvEM1nMkEghmw0UefuHAiATRMKitnmCiFvPjnY4UccFVQicQmUdkXC1RLxc32k8Pw=="}]},"_npmVersion":"1.1.65","_npmUser":{"name":"k","email":"kbjr14@gmail.com"},"maintainers":[{"name":"k","email":"kbjr14@gmail.com"}],"directories":{}},"1.0.5":{"name":"common.js","version":"1.0.5","description":"A CommonJS preprocessor and client-side lib","main":"lib/index.js","bin":{"commonjs":"bin/main.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/UmbraEngineering/common.js.git"},"keywords":["commonjs","browser"],"author":{"name":"James Brumond","email":"james@jbrumond.me","url":"http://www.jbrumond.me"},"license":"MIT","dependencies":{"wrench":"~1.5.4","async":"~0.2.9","commander":"~2.0.0"},"_id":"common.js@1.0.5","dist":{"shasum":"867c306da4ce02043400195f495c130d7e852024","tarball":"https://registry.npmjs.org/common.js/-/common.js-1.0.5.tgz","integrity":"sha512-r3+7j4xXMX8TkBaMuD2YJaW3Dd96dvMX/xzgqAbQdwj4PrDeECEW3mIB0zJGHg7+Xk7I6rVCr8XnEB/9IfSavQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCwFU/CaQLvllAgheBklTz70wR9fvpWYwGuSD0trIABUgIgYqbBrMcJItEhrlfc873q6glVQymxbYDBjskxyfJ28hA="}]},"_npmVersion":"1.1.65","_npmUser":{"name":"k","email":"kbjr14@gmail.com"},"maintainers":[{"name":"k","email":"kbjr14@gmail.com"}],"directories":{}},"1.0.6":{"name":"common.js","version":"1.0.6","description":"A CommonJS preprocessor and client-side lib","main":"lib/index.js","bin":{"commonjs":"bin/main.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/UmbraEngineering/common.js.git"},"keywords":["commonjs","browser"],"author":{"name":"James Brumond","email":"james@jbrumond.me","url":"http://www.jbrumond.me"},"license":"MIT","dependencies":{"wrench":"~1.5.4","async":"~0.2.9","commander":"~2.0.0"},"_id":"common.js@1.0.6","dist":{"shasum":"03ae8de441848e349c20bbf09223777bd0d0349c","tarball":"https://registry.npmjs.org/common.js/-/common.js-1.0.6.tgz","integrity":"sha512-DsAc6xtA4ASsazCBqXYidceKw9Fd8HLOcKfJBlWDUcPP+UYRhpTLwkncfO2CTp7lNLgVLR5XhkQ42BOWKzWnUg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDLMn44SG7L4y8UpJiAEYIM+jVz0MJCSdUizvYjekV1bwIhAK7QWrVOOUTeesxrX1TQ6R9dSifG8Ep3cF328EP6hZhj"}]},"_npmVersion":"1.1.65","_npmUser":{"name":"k","email":"kbjr14@gmail.com"},"maintainers":[{"name":"k","email":"kbjr14@gmail.com"}],"directories":{}},"1.0.7":{"name":"common.js","version":"1.0.7","description":"A CommonJS preprocessor and client-side lib","main":"lib/index.js","bin":{"commonjs":"bin/main.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/UmbraEngineering/common.js.git"},"keywords":["commonjs","browser"],"author":{"name":"James Brumond","email":"james@jbrumond.me","url":"http://www.jbrumond.me"},"license":"MIT","dependencies":{"wrench":"~1.5.4","async":"~0.2.9","commander":"~2.0.0"},"_id":"common.js@1.0.7","dist":{"shasum":"dd50cf788c67cfde27579b467ae2891ea8526e0c","tarball":"https://registry.npmjs.org/common.js/-/common.js-1.0.7.tgz","integrity":"sha512-6SmbtHzOLDr7uhwkWM6o/rkyZuOY4ibSvsWnHn8x7ci6KtjeHfyod1Oo02REjw7s+c2CSqI+XqhJkZ0xko1Pqg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE66MUPfeLEm4vJe1Tzch/kzhKVwe9bAbikY2KQbJvLIAiEArFFr8obv3D3zA6MLRWIRxXE+lFk7/Mn94HGd/Mfx2Ss="}]},"_npmVersion":"1.1.65","_npmUser":{"name":"k","email":"kbjr14@gmail.com"},"maintainers":[{"name":"k","email":"kbjr14@gmail.com"}],"directories":{}},"1.1.0":{"name":"common.js","version":"1.1.0","description":"A CommonJS preprocessor and client-side lib","main":"lib/index.js","bin":{"commonjs":"bin/main.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/UmbraEngineering/common.js.git"},"keywords":["commonjs","browser"],"author":{"name":"James Brumond","email":"james@jbrumond.me","url":"http://www.jbrumond.me"},"license":"MIT","dependencies":{"wrench":"~1.5.4","async":"~0.2.9","commander":"~2.0.0"},"_id":"common.js@1.1.0","dist":{"shasum":"d3509d31c9bec333cf1c04a7469aafe30e3519ba","tarball":"https://registry.npmjs.org/common.js/-/common.js-1.1.0.tgz","integrity":"sha512-6x09bJsoh486q96SS79bX/zuCECbvu+bIKI1CfRwQJwXM215rOhkMwsuKtxzvsqLrCLJPc0J6XxfW0kZelLEIQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCM2L8Pd7UOwU4QQ+9cioHfzZEqjjWB6ArTM1SFaBKC1QIhAN9cRtKlZtV2LVPROHF63M3l7uHuDnq2LRSqnRCupM/Y"}]},"_npmVersion":"1.1.65","_npmUser":{"name":"k","email":"kbjr14@gmail.com"},"maintainers":[{"name":"k","email":"kbjr14@gmail.com"}]},"1.1.1":{"name":"common.js","version":"1.1.1","description":"A CommonJS preprocessor and client-side lib","main":"lib/index.js","bin":{"commonjs":"bin/main.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/UmbraEngineering/common.js.git"},"keywords":["commonjs","browser"],"author":{"name":"James Brumond","email":"james@jbrumond.me","url":"http://www.jbrumond.me"},"license":"MIT","dependencies":{"wrench":"~1.5.4","async":"~0.2.9","commander":"~2.0.0"},"bugs":{"url":"https://github.com/UmbraEngineering/common.js/issues"},"homepage":"https://github.com/UmbraEngineering/common.js","_id":"common.js@1.1.1","dist":{"shasum":"f46531dd649852f97d467046d432adb055bd8284","tarball":"https://registry.npmjs.org/common.js/-/common.js-1.1.1.tgz","integrity":"sha512-v+LvkVPUCOIgySY0LB8sgY0ljwHb8j+hQJcLXwuvMoO3+iyGJ6iWEarjG8lIQwT5lwF+1VYDq6v7t9pE7Urx/A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH84sIK9/Mt8DFamiuTbE7FcB5Usk/md2dsrcjipJV7gAiAsHw66khOdy6oWX3cMIjkLuOQ5388X+4ZXbs/BiiVScw=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"k","email":"kbjr14@gmail.com"},"maintainers":[{"name":"k","email":"kbjr14@gmail.com"}]}},"readme":"# CommonJS For The Browser\n\nA CommonJS preprocessor that builds you CommonJS style app into code the browser can use.\n\n## Install\n\n```bash\n$ npm install common.js\n```\n\n## Usage\n\n#### Step 1: Write your JavaScript\n\n###### foo.js\n\n```javascript\nmodule.exports = function() {\n\tconsole.log('foo');\n};\n```\n\n###### bar.js\n\n```javascript\nvar foo = require('foo');\n\nexports.doTheThing = function() {\n\tfoo();\n};\n```\n\n#### Step 2: Build you code using commonjs-preprocessor\n\n```bash\n$ commonjs --src ./path/to/javascripts --dest ./path/to/js --client\n```\n\n#### Step 3: Include the modules into your app and use them\n\n```html\n<script src=\"js/common.js\"></script>\n<script src=\"js/foo.js\"></script>\n<script src=\"js/bar.js\"></script>\n<script>\n\tvar bar = require('bar');\n\n\tbar.doTheThing();\n</script>\n```\n\n## Lazy-loading extra scripts\n\n```javascript\nrequire.load('/foo', '/bar', '/baz').then(function() {\n\tvar foo = require('foo');\n\tvar bar = require('bar');\n\tvar baz = require('baz');\n\n\tfoo.doStuffWith(bar.foo(), baz.foo());\n});\n```\n\n\n\n","maintainers":[{"name":"k","email":"kbjr14@gmail.com"}],"time":{"modified":"2022-06-13T19:27:02.791Z","created":"2013-11-18T04:22:10.597Z","0.0.0":"2013-11-18T04:22:12.588Z","0.0.2":"2013-11-18T06:14:24.784Z","0.0.3":"2013-11-18T06:33:48.987Z","1.0.0":"2013-11-18T08:03:51.925Z","1.0.1":"2013-11-18T19:29:24.084Z","1.0.2":"2013-11-19T08:22:57.224Z","1.0.3":"2013-11-23T06:49:21.876Z","1.0.4":"2013-11-23T06:56:07.093Z","1.0.5":"2013-11-23T07:09:15.723Z","1.0.6":"2013-11-23T08:43:54.978Z","1.0.7":"2013-11-24T02:54:04.388Z","1.1.0":"2013-11-24T03:08:20.840Z","1.1.1":"2014-10-06T05:53:16.145Z"},"author":{"name":"James Brumond","email":"james@jbrumond.me","url":"http://www.jbrumond.me"},"repository":{"type":"git","url":"git://github.com/UmbraEngineering/common.js.git"},"homepage":"https://github.com/UmbraEngineering/common.js","keywords":["commonjs","browser"],"bugs":{"url":"https://github.com/UmbraEngineering/common.js/issues"},"license":"MIT","readmeFilename":"readme.md"}