{"_id":"define","_rev":"53-e61576d3e8acb430be1d6eab6118602f","name":"define","description":"An AMD wrapper for Node modules","dist-tags":{"latest":"1.0.1"},"versions":{"0.1.0":{"name":"define","description":"An asynchronous module system based on the CommonJS Asynchronous Definition specification.","version":"0.1.0","engines":{"node":">= 0.2.4"},"author":{"name":"Ben Weaver","email":"ben@orangesoda.net"},"contributors":[],"dependencies":{},"keywords":["module","package","commonjs","asynchronous","define"],"directories":{"lib":"./lib"},"scripts":{"preinstall":"node-waf configure build"},"bin":{"defjs":"./bin/defjs"},"_id":"define@0.1.0","_nodeSupported":true,"_npmVersion":"0.2.8-1","_nodeVersion":"v0.2.4","dist":{"tarball":"https://registry.npmjs.org/define/-/define-0.1.0.tgz","shasum":"76322cb2b4c3227522ee3ec88360a81a80d6ebad","integrity":"sha512-GktzGdQnA/HbAbMXgu1VYXpTBRv0ou+RSyeJKLzxR/7ujF3sUzXT9Y+6ytLcazIQUskb3BkjHM7sKXt5gBSKlg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHdhVnfZQRC+V59XFzeVY7H7jF3UkgNuW7vyMlBwXpyMAiBafgaI/kXYNMb/a0r6b3IX4UMm7OzgKwDgduzWwjqqgw=="}]}},"0.1.1":{"name":"define","description":"An asynchronous module system based on the CommonJS Asynchronous Definition specification.","version":"0.1.1","engines":{"node":">= 0.2.4"},"author":{"name":"Ben Weaver","email":"ben@orangesoda.net"},"contributors":[],"dependencies":{},"keywords":["module","package","commonjs","asynchronous","define"],"directories":{"lib":"./lib"},"scripts":{"preinstall":"node-waf configure build"},"bin":{"defjs":"./bin/defjs"},"_id":"define@0.1.1","_nodeSupported":true,"_npmVersion":"0.2.8-1","_nodeVersion":"v0.2.4","dist":{"tarball":"https://registry.npmjs.org/define/-/define-0.1.1.tgz","shasum":"bb92876e4526d7d27e615fcd613495a532ded173","integrity":"sha512-RkCUXJpEn7sPLL47Rx9EKcnqOJuoFzd20AbjK9bqCX64JwclGxBZxi/aIzF95WM5mdju8u3spKTq9mXmhmfuRw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/+WxeP/Pcslh4iBJcqolTdYCMheT5vjvg5QwEvbX7lwIhAPZG14Z1BL6D5ZsEu+as8iC6Zja+cEHHSeGKy4I5i/E2"}]}},"0.1.5":{"name":"define","description":"An asynchronous module system based on the CommonJS Asynchronous Definition specification.","version":"0.1.5","engines":{"node":">= 0.2.4"},"author":{"name":"Ben Weaver","email":"ben@orangesoda.net"},"contributors":[],"dependencies":{},"keywords":["module","package","commonjs","asynchronous","define"],"directories":{"lib":"./lib"},"scripts":{"preinstall":"node-waf configure build"},"bin":{"defjs":"./bin/defjs"},"_id":"define@0.1.5","_nodeSupported":true,"_npmVersion":"0.2.8-1","_nodeVersion":"v0.2.4","dist":{"tarball":"https://registry.npmjs.org/define/-/define-0.1.5.tgz","shasum":"a1a12691101ac7b644aa5607396ca906eee2dc89","integrity":"sha512-qpG19c5yJ26wQ9/cSg5bTGRFgRoZ7CxDgdefWbnTGk+KA8jTf3za2/JcXHuPoUhwX6d2Yabin0m9GpQsqVXgqg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCIJ78vfmuGKbrMmSoyO/yB4La1RagV/fZZJD4WgSclIgIhAOR4UIDWnWcILtDhCXuGgRWTRSEHa2C8TtZfv3/5KKJP"}]}},"0.1.6":{"name":"define","description":"An asynchronous module system based on the CommonJS Asynchronous Definition specification.","version":"0.1.6","engines":{"node":">= 0.2.4"},"author":{"name":"Ben Weaver","email":"ben@orangesoda.net"},"contributors":[],"dependencies":{},"keywords":["module","package","commonjs","asynchronous","define"],"directories":{"lib":"./lib"},"scripts":{"preinstall":"node-waf configure build"},"bin":{"defjs":"./bin/defjs"},"_id":"define@0.1.6","_nodeSupported":true,"_npmVersion":"0.2.8-1","_nodeVersion":"v0.2.4","dist":{"tarball":"https://registry.npmjs.org/define/-/define-0.1.6.tgz","shasum":"c9de0f9499b0a8db7475a87b0586fe0b83472313"}},"0.2.3":{"name":"define","description":"An asynchronous module system based on the CommonJS Asynchronous Definition specification.","version":"0.2.3","engines":{"node":">= 0.2.5"},"author":{"name":"Ben Weaver","email":"ben@orangesoda.net"},"contributors":[],"dependencies":{},"keywords":["module","package","commonjs","asynchronous","define"],"directories":{"lib":"./lib"},"scripts":{"preinstall":"node-waf configure build"},"bin":{"defjs":"./bin/defjs"},"_id":"define@0.2.3","_nodeSupported":true,"_npmVersion":"0.2.8-1","_nodeVersion":"v0.2.5","dist":{"tarball":"https://registry.npmjs.org/define/-/define-0.2.3.tgz","shasum":"27b4603641eafb34f8b54547a2f503ada60641e6","integrity":"sha512-CYkMHdDpXYO1eZvSpoDNhimEvnFeJWmaoztq7cg4g90fiRogOsDyrUZK5hpUoPIDDPjv/zCPkahmYaJziY0Ocw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC9+5TAdpJeL9FJOpYoXCdT0Nxjw434UWbqeOT1aKmG6wIhAKQtvkfR7Oq8DxvoB8eMd1giUpxpg7KcnB5Du6xvYZSF"}]}},"0.2.4":{"name":"define","description":"An asynchronous module system based on the CommonJS Asynchronous Definition specification.","version":"0.2.4","engines":{"node":">= 0.2.5"},"author":{"name":"Ben Weaver","email":"ben@orangesoda.net"},"contributors":[],"dependencies":{},"keywords":["module","package","commonjs","asynchronous","define"],"directories":{"lib":"./lib"},"scripts":{"preinstall":"node-waf configure build"},"bin":{"defjs":"./bin/defjs"},"_id":"define@0.2.4","_nodeSupported":true,"_npmVersion":"0.2.8-1","_nodeVersion":"v0.2.5","dist":{"tarball":"https://registry.npmjs.org/define/-/define-0.2.4.tgz","shasum":"9b755196dde1f71f73d9488c166cff6f3d947aa3","integrity":"sha512-/MDqd/CUc0XmM3yqL9hK65vpWDcNRZRAu4eZ7RuaPILx1EMU00QnBQX7l9WYYEnNnnByQIQljQbze7g/IoPHRw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHO1F4PsdBP8hPWUiZQ65sq0rcRJxHcVfYOf9yCIpjFTAiEAjTtQQsXNkg+pCvwOkY/BI6AroqpTYVqv9FiBJLEO6eg="}]}},"0.2.5":{"name":"define","description":"An asynchronous module system based on the CommonJS Asynchronous Definition specification.","version":"0.2.5","engines":{"node":">= 0.2.5"},"author":{"name":"Ben Weaver","email":"ben@orangesoda.net"},"contributors":[],"dependencies":{},"keywords":["module","package","commonjs","asynchronous","define"],"directories":{"lib":"./lib"},"scripts":{"preinstall":"node-waf configure build"},"bin":{"defjs":"./bin/defjs"},"_id":"define@0.2.5","_nodeSupported":true,"_npmVersion":"0.2.8-1","_nodeVersion":"v0.2.5","dist":{"tarball":"https://registry.npmjs.org/define/-/define-0.2.5.tgz","shasum":"7f61af9018141ac0f709c2308bd2a846010d42d3","integrity":"sha512-OiuBHM0wR4DUTWqKcVcxKEHK3CDVc7KEI7EVk4q1SfjJo1kxA/Qf4Qgg0yP8sEl5qKvmJFzpNJ2NwZtAYTDXYg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEjzo/RTMhMRgX7C2va3MUkDfKoXn9bR1+cWIfr+Q/gMAiBHfeOIAYPkS584yr14Yj1/iizL0F+LATQMfOieCtai3w=="}]}},"0.3.0":{"name":"define","description":"An asynchronous module system based on the CommonJS Asynchronous Definition specification.","version":"0.3.0","engines":{"node":">= 0.2.5"},"author":{"name":"Ben Weaver","email":"ben@orangesoda.net"},"contributors":[],"dependencies":{},"keywords":["module","package","commonjs","asynchronous","define"],"directories":{"lib":"./lib"},"scripts":{"preinstall":"node-waf configure build"},"bin":{"defjs":"./bin/defjs"},"_id":"define@0.3.0","_nodeSupported":true,"_npmVersion":"0.2.8-1","_nodeVersion":"v0.2.5","dist":{"tarball":"https://registry.npmjs.org/define/-/define-0.3.0.tgz","shasum":"8d309a8fc3aacb989c1e9b2f317f4f119e787c8c","integrity":"sha512-MRPxo9m2UZKWR/+KMWxoyLfDJaDCltI8+LqLa7X8mMc+I8wrhxiaKDWodw8znDUaOpRZaJvXVxO9AOgmAoSFKA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCBLJmARJyV3q7sNTZjuvbsur/2i5qnMmPEgKSFGji+pgIhAJo1wDehwjkgHAH2v4yLMM0TKUJM1PnvILVQSgk+uSSM"}]}},"0.3.1":{"name":"define","description":"An asynchronous module system based on the CommonJS Asynchronous Definition specification.","version":"0.3.1","engines":{"node":">= 0.2.5"},"author":{"name":"Ben Weaver","email":"ben@orangesoda.net"},"contributors":[],"dependencies":{},"keywords":["module","package","commonjs","asynchronous","define"],"directories":{"lib":"./lib"},"scripts":{"preinstall":"node-waf configure build"},"bin":{"defjs":"./bin/defjs"},"_id":"define@0.3.1","_nodeSupported":true,"_npmVersion":"0.2.8-1","_nodeVersion":"v0.2.6","dist":{"tarball":"https://registry.npmjs.org/define/-/define-0.3.1.tgz","shasum":"0b94f1b38b14c1e97c7f56a3f5d6f2475cee55c9","integrity":"sha512-vw2kwgVhiFTi13V914At9QqJq8qGveRUxAjKZo84wl/5AS1qfn6r26+iP25RpZGs0wwV4Hs8xjyfu0unpDaElg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCH8jKdLdg9JUytXscD2JH2emvdOM03esxgIZJCpA3/iwIhAOD3frubnwHlsDPOsoJCgvMAYHj2LM9KmbJip+/HzpZ1"}]}},"0.4.0":{"name":"define","description":"An asynchronous module system based on the CommonJS Asynchronous Definition specification.","version":"0.4.0","engines":{"node":">= 0.4.1"},"author":{"name":"Ben Weaver","email":"ben@orangesoda.net"},"contributors":[],"dependencies":{},"keywords":["module","package","commonjs","asynchronous","define"],"directories":{"lib":"./lib"},"scripts":{"preinstall":"node-waf configure build"},"bin":{"defjs":"./bin/defjs","redef":"./bin/redef"},"_id":"define@0.4.0","_nodeSupported":true,"_npmVersion":"0.2.8-1","_nodeVersion":"v0.4.1","dist":{"tarball":"https://registry.npmjs.org/define/-/define-0.4.0.tgz","shasum":"350379202589153a6ae58bb2da8fbc3ddb41d1d1","integrity":"sha512-lD7bevsdL89scKdiTTeeoeNAX0cw7pbrEZKA/Blm70n+y50IWfA1znemj+ydBNjYhNN1gJfzjJuyHQexRLYz5w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDqyGCAr1QoCE8ZNj4MASSTqIo0r9SU2jncs3Q5OHf7PAIhAOdY6EsMjj+mCov4RVKfX4/20SRCwugBNZTBXBESBMtU"}]}},"0.4.1":{"name":"define","description":"An asynchronous module system based on the CommonJS Asynchronous Definition specification.","version":"0.4.1","engines":{"node":">= 0.4.1"},"author":{"name":"Ben Weaver","email":"ben@orangesoda.net"},"contributors":[],"dependencies":{},"keywords":["module","package","commonjs","asynchronous","define"],"directories":{"lib":"./lib"},"scripts":{"preinstall":"node-waf configure build"},"bin":{"defjs":"./bin/defjs","redef":"./bin/redef"},"_id":"define@0.4.1","_nodeSupported":true,"_npmVersion":"0.2.8-1","_nodeVersion":"v0.4.1","dist":{"tarball":"https://registry.npmjs.org/define/-/define-0.4.1.tgz","shasum":"9ec9ac62347601400c3f0a3a0aaf9d400961b4eb","integrity":"sha512-CUuXtaVuAymQfkKQyvS72m6dTSLZu23XKCixt9q71OB0mTQ0CaTbRn+LK5MS+r2+iwORIkD15KtLNh6isWRY/A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCapi1ObkuQAOW69OzVF2JWToexq2G4+mjmOp+2x7wpkAIgTqHTfWn7nUttiyjuXkr6WfpIDBw9EbxiqKrUEt0MpLE="}]}},"0.4.2":{"name":"define","description":"An asynchronous module system based on the CommonJS Asynchronous Definition specification.","version":"0.4.2","engines":{"node":">= 0.4.1"},"author":{"name":"Ben Weaver","email":"ben@orangesoda.net"},"contributors":[],"dependencies":{},"keywords":["module","package","commonjs","asynchronous","define"],"directories":{"lib":"./lib"},"scripts":{"preinstall":"node-waf configure build"},"bin":{"defjs":"./bin/defjs","redef":"./bin/redef"},"_id":"define@0.4.2","_nodeSupported":true,"_npmVersion":"0.2.8-1","_nodeVersion":"v0.4.1","dist":{"tarball":"https://registry.npmjs.org/define/-/define-0.4.2.tgz","shasum":"6c0cacd406ba5b49bae0261609b2f7ecb1f79faf","integrity":"sha512-bOQkYYd0iASugVlZ2KkayzKWjp4g0nLqZGMD87zUXcvTaoWn8w5jwwIhK2lrZW9Rh21UEFJ+dq6Wo1XI8XZAFg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA5FHzL2I8KK9wWaqbAoaKVtwCYbJ5meEX7UwiTlrNzVAiEAi96OqZ8iBFUEIdXlY3k30BKG7sm5HVncSR6fHk+yroY="}]}},"0.4.3":{"name":"define","description":"An asynchronous module system based on the CommonJS Asynchronous Definition specification.","version":"0.4.3","engines":{"node":">= 0.4.1"},"author":{"name":"Ben Weaver","email":"ben@orangesoda.net"},"contributors":[],"dependencies":{},"keywords":["module","package","commonjs","asynchronous","define"],"directories":{"lib":"./lib"},"scripts":{"preinstall":"node-waf configure build"},"bin":{"defjs":"./bin/defjs","redef":"./bin/redef"},"_id":"define@0.4.3","_nodeSupported":true,"_npmVersion":"0.2.8-1","_nodeVersion":"v0.4.1","dist":{"tarball":"https://registry.npmjs.org/define/-/define-0.4.3.tgz","shasum":"527a959edd0862a627f58de00fc9677770f60f71","integrity":"sha512-fE58jHYBfcD+mtYHghief0hZD8GGH+od85xu1IBBEGihXJHhL1i8ycdwz6CWRQFUY8XdOz5M3eHe4GDbWxaOcw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH/a4JQPISdO64Y2bHbtwIIOtDW0ngaCH3yn4TUKGbjGAiEA41HZTmo3xUKErZYcYAmnai5qbwtjqfeLaPPVNvGNgyY="}]}},"0.4.4":{"name":"define","description":"An asynchronous module system based on the CommonJS Asynchronous Definition specification.","version":"0.4.4","engines":{"node":">= 0.4.1"},"author":{"name":"Ben Weaver","email":"ben@orangesoda.net"},"contributors":[],"dependencies":{},"keywords":["module","package","commonjs","asynchronous","define"],"directories":{"lib":"./lib","bin":"./bin"},"scripts":{"preinstall":"node-waf clean || true; node-waf configure build"},"bin":{"defjs":"./bin/defjs","redef":"./bin/redef"},"_id":"define@0.4.4","_engineSupported":true,"_npmVersion":"0.3.15","_nodeVersion":"v0.4.1","files":[""],"_defaultsLoaded":true,"dist":{"shasum":"4bc6114beb1b9854ccfcca40c61807447373a9b4","tarball":"https://registry.npmjs.org/define/-/define-0.4.4.tgz","bin":{"0.4-sunos-5.11":{"shasum":"ce3c20afbbcf3ad4497de4ccfb5dbaffc4c2b6b5","tarball":"http://registry.npmjs.org/define/-/define-0.4.4-0.4-sunos-5.11.tgz"}},"integrity":"sha512-/akQvjXysRkU8+Dyy6KnJfyc+XAW/8uM+kTRwzF8o8Em3UDxwGstaf2l1ff2z+UKw2zTNElBqSCwZ7BvT485DA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCybs021lNPRgv+cFCiwG0UbCgvLx0n4iGqxxkziDoQzQIgBDN1taXGP7GHWYMd17nAUcNLx9VRHp82sgb8YsAGp4o="}]}},"0.2.2":{"name":"define","description":"An asynchronous module system based on the CommonJS Asynchronous Definition specification.","version":"0.2.2","engines":{"node":">= 0.2.4"},"author":{"name":"Ben Weaver","email":"ben@orangesoda.net"},"contributors":[],"dependencies":{},"keywords":["module","package","commonjs","asynchronous","define"],"directories":{"lib":"./lib"},"scripts":{"preinstall":"node-waf clean || true; node-waf configure build"},"bin":{"defjs":"./bin/defjs"},"_id":"define@0.2.2","_engineSupported":true,"_npmVersion":"1.0.1rc4","_nodeVersion":"v0.4.4","_defaultsLoaded":true,"dist":{"shasum":"6c75e88b383da28fd7a4e74b32ce6178b0f94e68","tarball":"https://registry.npmjs.org/define/-/define-0.2.2.tgz","integrity":"sha512-tKhhNqeHg71YM3aOEI8i9zRX48Je5GD/XknQY7pOafPBg16HwiHp2Nu3M+3VYVjVSmMqo/Tmj6QlfSJnf2hQKA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDcbbN76IZmR3eY4SxtUgps4qiAU6U/QrMu7DZggpZ45gIhALTiL0VM7/rpI4DjzRNtw/FX9Rdl7jjeD8tUUY8Ta/Jy"}]}},"0.4.5":{"name":"define","description":"An asynchronous module system based on the CommonJS Asynchronous Definition specification.","version":"0.4.5","engines":{"node":">= 0.4.1"},"author":{"name":"Ben Weaver","email":"ben@orangesoda.net"},"contributors":[],"dependencies":{},"keywords":["module","package","commonjs","asynchronous","define"],"directories":{"lib":"./lib"},"scripts":{"preinstall":"node-waf clean || true; node-waf configure build"},"bin":{"defjs":"./bin/defjs","redef":"./bin/redef"},"_id":"define@0.4.5","_engineSupported":true,"_npmVersion":"1.0.1rc4","_nodeVersion":"v0.4.4","_defaultsLoaded":true,"dist":{"shasum":"cd5ec4fad4323189f65edabecda6b52152d86da1","tarball":"https://registry.npmjs.org/define/-/define-0.4.5.tgz","integrity":"sha512-GzNjPMmQWBwlBgTmME69myuqbQOdtNls5qjaJwc0MYI3XdzhgTmbWlSPKZWrRVYTfPTIkwaGpouc0W1U8i7lbA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDUtayqALRTjN+jllVb27DquDCapWIKqj9OVlASSIkw1gIgANf2wRVx73pdl1CNB/2nvZg6agRpScnZlIZE/qVeUow="}]}},"1.0.0":{"name":"define","description":"An AMD wrapper for Node modules","version":"1.0.0","author":{"name":"Ben Weaver","email":"ben@orangesoda.net"},"keywords":["module","package","amd","asynchronous","define"],"repository":{"type":"git","url":"git://github.com/weaver/DefineJS.git"},"main":"define","scripts":{"prepublish":"npm prune"},"engines":{"node":"*"},"readme":"# DefineJS #\n\nDefineJS is an Asynchronous Module Definition wrapper for\nNode. Writing modules in AMD style is convenient when code is shared\nbetween Node and a browser. The client needs to use an AMD loader like\n[RequireJS][0].\n\n\n## Installation ##\n\nAdd a `\"define\": \"1.0\"` dependency to your project's `package.json`\nand run `npm install`, or use `npm install define` to install\nmanually.\n\n\n## How To Use ##\n\nIn your app's main script, `require('define')`. This will add `define`\nas a `global` so it's available everywhere else in the application\nautomatically. See `examples/shared-code` for a working example web\nserver.\n\n\n## DefineJS is Global ##\n\nDefineJS installs `define` as a global when it's loaded. The makes\n`define` available everywhere else in the application without any\nspecial workarounds in each file.\n\nIf you don't want a global definition, do the following in your app's\nmain script:\n\n    require('define').noConflict();\n\nthen, for individual modules that need `define`:\n\n    if (typeof define === 'undefined') {\n        var define = require('define');\n    }\n\nHowever, if you prefer this approach and you're using [RequireJS][0]\nfor the client-side loader anyway, you should probably just use the\nsimilar [amdefine convention][1] because the RequireJS optimizer\nstrips it away.\n\n\n## See Also ##\n\nRefer to the [AMD Wiki][1] for more information about AMD.\n\n[0]: http://requirejs.org/\n[1]: http://requirejs.org/docs/node.html#nodeModules\n[2]: https://github.com/amdjs/amdjs-api/wiki/AMD\n","_id":"define@1.0.0","dist":{"shasum":"8a2999800edf35c505295f4f051c98ade7d38539","tarball":"https://registry.npmjs.org/define/-/define-1.0.0.tgz","integrity":"sha512-xSKma03qKndfz4GsuKx67I8gYWrZZZ82KOogWVyYquz5fpHePrNV8yq5DZCt9BkgCLA1lR7mgxNrmXCCecZblg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCRzJoNRot7ZwZL2icG46DzcV+pLG3ifiWFtk0v91ekEAIhAIKt9TVEZHpOH3Kmi3BfEAc8YUmKeoGCtTmycpJ80kAL"}]},"maintainers":[{"name":"weaver","email":"ben@orangesoda.net"}]},"1.0.1":{"name":"define","description":"An AMD wrapper for Node modules","version":"1.0.1","author":{"name":"Ben Weaver","email":"ben@orangesoda.net"},"keywords":["module","package","amd","asynchronous","define"],"repository":{"type":"git","url":"git://github.com/weaver/DefineJS.git"},"main":"define","scripts":{"prepublish":"npm prune"},"engines":{"node":"*"},"readme":"# DefineJS #\n\nDefineJS is an Asynchronous Module Definition wrapper for\nNode. Writing modules in AMD style is convenient when code is shared\nbetween Node and a browser. The client needs to use an AMD loader like\n[RequireJS][0].\n\n\n## Installation ##\n\nAdd a dependency to your project's `package.json` and run `npm\ninstall`:\n\n    {\n        \"dependencies\" {\n            \"define\": \"1.0\"\n        }\n    }\n\nor install manually:\n\n    npm install define\n\n\n## Get Started ##\n\nIn your app's main script:\n\n    require('define');\n\nThis will add `define` as a `global` so it's available everywhere else\nin the application automatically. Create AMD modules anywhere you\nlike. They can be loaded with `require` or `define`.\n\nSee `examples/shared-code` for a working example web server.\n\n\n## Features ##\n\n+ Share code with web browsers!\n+ Very lightweight integration with Node's module system.\n+ No need for conditional `require('define')` in every AMD module.\n+ Compatible with [AMD Define][2].\n+ Compatible with [AMD Require][3].\n\n\n## DefineJS is Global ##\n\nDefineJS installs `define` as a global when it's loaded. The makes\n`define` available everywhere else in the application without any\nspecial workarounds in each file.\n\nIf you don't want a global definition, do the following in your app's\nmain script:\n\n    require('define').noConflict();\n\nthen, for individual modules that need `define`:\n\n    if (typeof define === 'undefined') {\n        var define = require('define');\n    }\n\nHowever, if you prefer this approach and you're using [RequireJS][0]\nfor the client-side loader anyway, you should probably just use the\nsimilar [amdefine convention][1] because the RequireJS optimizer\nstrips it away.\n\n\n## Module Ids ##\n\nThe [AMD Spec][2] allows module definitions to optionally specify an\nid. This is very helpful for transport when several modules are\nconcatenated into the same file.\n\nDefineJS currently accepts module ids, but ignores them. This is\nbecause it's just a very light wrapper around Node's `require`. Node\nuses a module's absolute filename as the id, so defining more than one\nmodule in a file is currently unsupported.\n\nIn practice, this doesn't matter very much. Just follow the\none-module-to-one-file convention and use something like the\n[RequireJS Optimizer][4] for client-side code in production.\n\n\n## See Also ##\n\nRefer to the [AMD Wiki][2] for more information about AMD.\n\n[0]: http://requirejs.org/\n[1]: http://requirejs.org/docs/node.html#nodeModules\n[2]: https://github.com/amdjs/amdjs-api/wiki/AMD\n[3]: https://github.com/amdjs/amdjs-api/wiki/require\n[4]: http://requirejs.org/docs/optimization.html\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/weaver/DefineJS/issues"},"_id":"define@1.0.1","dist":{"shasum":"e205c72e10cd2f123deaf7eb9498a2238b460f1c","tarball":"https://registry.npmjs.org/define/-/define-1.0.1.tgz","integrity":"sha512-88KsZRGqPPRvVzS0iJOF6rQeWJ78xwgc/CqkrJN4aYqRa7AsMWABdgWbZciMPaRVqh5tqPEckfVh+1BvTlaLMw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBokPOm00LMcC26Zy+rlOqoUVByRUU10HVK3zwg3FdSUAiBFGA+OU4lGCRhb+8RagM6l648cpGNSb2AO4UIHH+FpaQ=="}]},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"weaver","email":"ben@orangesoda.net"},"maintainers":[{"name":"weaver","email":"ben@orangesoda.net"}]}},"maintainers":[{"name":"weaver","email":"ben@orangesoda.net"}],"author":{"name":"Ben Weaver","email":"ben@orangesoda.net"},"time":{"modified":"2022-06-30T11:38:52.680Z","created":"2011-01-11T16:00:12.320Z","0.1.0":"2011-01-11T16:00:12.320Z","0.1.1":"2011-01-11T16:00:12.320Z","0.1.5":"2011-01-11T16:00:12.320Z","0.1.6":"2011-01-11T16:00:12.320Z","0.2.2":"2011-01-11T16:00:12.320Z","0.2.3":"2011-01-12T22:10:40.412Z","0.2.4":"2011-01-27T20:19:57.547Z","0.2.5":"2011-01-28T21:52:03.146Z","0.3.0":"2011-02-07T20:04:42.410Z","0.3.1":"2011-02-24T21:44:02.931Z","0.4.0":"2011-02-24T23:29:56.071Z","0.4.1":"2011-03-01T22:29:25.517Z","0.4.2":"2011-03-02T01:59:50.998Z","0.4.3":"2011-03-03T20:35:36.396Z","0.4.4":"2011-03-16T20:38:41.735Z","0.4.5":"2011-04-25T21:54:10.756Z","1.0.0":"2012-08-03T18:13:02.836Z","1.0.1":"2013-07-24T01:21:57.859Z"},"repository":{"type":"git","url":"git://github.com/weaver/DefineJS.git"}}