{"_id":"enhanced-require","_rev":"63-69ff6505dde32cd2ada081bec61379fd","name":"enhanced-require","description":"Enhance the require function in node.js with support for loaders which preprocess files and really async require (AMD). Enables Hot Code Replacement.","dist-tags":{"latest":"0.5.0-beta6"},"versions":{"0.1.0":{"name":"enhanced-require","version":"0.1.0","author":{"name":"Tobias Koppers @sokra"},"description":"Enhance the require function in node.js with support for loaders which preprocess files. This is a standalone polyfill for features of webpack.","dependencies":{},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"devDependencies":{"mocha":"*","should":"*"},"engines":{"node":">=0.8"},"homepage":"http://github.com/sokra/enhanced-require","scripts":{"test":"node node_modules/mocha/bin/_mocha --reporter spec"},"license":"MIT","readme":"# enhanced-require\r\n\r\nThis module added [loader support](https://github.com/sokra/modules-webpack/wiki/Loader-Specification) to node.js.\r\n\r\nIt offers features availible in webpack to node.js.\r\n\r\nAdd this line to a node.js module to active the enhanced features in that module.\r\n\r\n``` javascript\r\nrequire = require(\"enhanced-require\")(require.valueOf());\r\n```\r\n\r\nThan you can use them:\r\n\r\n``` javascript\r\nvar template = require(\"./my-template.jade\");\r\nvar fileContent = require(\"raw!\"+__filename);\r\nvar html = template({content: fileContent});\r\nvar directoryRequire = require.context(\"raw!./subdir\");\r\nvar txtFile = directoryRequire(\"./aFile.txt\");\r\n```\r\n\r\n## Future Plans\r\n\r\n* `require(\"enhanced-require/install\")` enables support for all modules.\r\n\r\n## License\r\n\r\nCopyright (c) 2012 Tobias Koppers\r\n\r\nMIT (http://www.opensource.org/licenses/mit-license.php)","_id":"enhanced-require@0.1.0","dist":{"shasum":"6635a1787d7098299d09661d42733f483c9e7280","tarball":"https://registry.npmjs.org/enhanced-require/-/enhanced-require-0.1.0.tgz","integrity":"sha512-A6aJH7T6TPMaCyMgzpWGqDosL2qvWn9ftLfyODY9CUEDuNJzbcd0S9sM6wqRMVgpo+7320JsT9h8KLpYqDnaBQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA1pEPDYapPkdY2fP/zueXwN31n/TzG0MfR2QbyDTZd8AiEAtwIGiuESo92Qne46JP4LGmDSAKd1kndbH4R9gI7742I="}]},"maintainers":[{"name":"sokra","email":"tobias.koppers@googlemail.com"}]},"0.1.1":{"name":"enhanced-require","version":"0.1.1","author":{"name":"Tobias Koppers @sokra"},"description":"Enhance the require function in node.js with support for loaders which preprocess files. This is a standalone polyfill for features of webpack.","dependencies":{},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"devDependencies":{"mocha":"*","should":"*"},"engines":{"node":">=0.4"},"homepage":"http://github.com/sokra/enhanced-require","scripts":{"test":"node node_modules/mocha/bin/_mocha --reporter spec"},"license":"MIT","readme":"# enhanced-require\r\n\r\nThis module added [loader support](https://github.com/sokra/modules-webpack/wiki/Loader-Specification) to node.js.\r\n\r\nIt offers features availible in webpack to node.js.\r\n\r\nAdd this line to a node.js module to active the enhanced features in that module.\r\n\r\n``` javascript\r\nrequire = require(\"enhanced-require\")(require.valueOf());\r\n```\r\n\r\nThan you can use them:\r\n\r\n``` javascript\r\nvar template = require(\"./my-template.jade\");\r\nvar fileContent = require(\"raw!\"+__filename);\r\nvar html = template({content: fileContent});\r\nvar directoryRequire = require.context(\"raw!./subdir\");\r\nvar txtFile = directoryRequire(\"./aFile.txt\");\r\n```\r\n\r\n## Future Plans\r\n\r\n* `require(\"enhanced-require/install\")` enables support for all modules.\r\n\r\n## License\r\n\r\nCopyright (c) 2012 Tobias Koppers\r\n\r\nMIT (http://www.opensource.org/licenses/mit-license.php)","_id":"enhanced-require@0.1.1","dist":{"shasum":"c501ce14bc6f4d89484d8c07102336061a5e6b38","tarball":"https://registry.npmjs.org/enhanced-require/-/enhanced-require-0.1.1.tgz","integrity":"sha512-Es98qUftfw7uTbQD5A4loEVuBwf9ihfsE7HCawq4hXl7wRD9rjuu5F/5Tn4P5UpR/ND5tvHhl4RXGAWsLidBfQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAQGO7i/r2luAGCKcY13N7c4ZNxtqRORMb8Ib+z9d0AHAiAMa9jNUZFYGMf4sylWyBhj+OqBK9nrAWNyPbI57Jy2wA=="}]},"maintainers":[{"name":"sokra","email":"tobias.koppers@googlemail.com"}]},"0.2.0":{"name":"enhanced-require","version":"0.2.0","author":{"name":"Tobias Koppers @sokra"},"description":"Enhance the require function in node.js with support for loaders which preprocess files and really async require (AMD).","dependencies":{"enhanced-resolve":"0.2.x"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"devDependencies":{"mocha":"*","should":"*"},"main":"lib/require","engines":{"node":">=0.6"},"homepage":"http://github.com/webpack/enhanced-require","scripts":{"test":"node node_modules/mocha/bin/_mocha --reporter spec"},"license":"MIT","readme":"# enhanced-require\r\n\r\nMore features for node.js require.\r\n\r\n* [loader support](https://github.com/sokra/modules-webpack/wiki/Loader-Specification)\r\n* `require.ensure`\r\n* AMD `require`, `define` (from require.js)\r\n* `require.context`\r\n\r\nAsynchron require functions are **really** async. They do not use the sync node.js require, but use a async resolving and async readFile.\r\n\r\nAdd this line to a node.js module to activate the enhanced features in that module:\r\n\r\n``` javascript\r\nrequire = require(\"enhanced-require\")(module);\r\n\r\n// and optionally if your want require.js style defines:\r\nif(typeof define != \"function\") var define = require.define;\r\n```\r\n\r\nThan you can use them:\r\n\r\n``` javascript\r\n// use loaders\r\nvar fileContent = require(\"raw!\"+__filename);\r\n\r\n// use loaders automatically\r\nvar template = require(\"./my-template.jade\");\r\n\r\nvar html = template({content: fileContent});\r\n\r\n// use require.context\r\nvar directoryRequire = require.context(\"raw!./subdir\");\r\nvar txtFile = directoryRequire(\"./aFile.txt\");\r\n\r\n// use require.ensure\r\nrequire.ensure([\"./someFile.js\"], function(require) {\r\n\tvar someFile = require(\"./someFile.js\");\r\n});\r\n\r\n// use AMD define\r\nrequire.define([\"./aDep\"], function(aDep) {\r\n\taDep.run();\r\n});\r\n\r\n// use AMD require\r\nrequire([\"./bDep\"], function(bDep) {\r\n\tbDep.run();\r\n});\r\n```\r\n\r\n## Future Plans\r\n\r\n* `require(\"enhanced-require/install\")` enables support for all modules.\r\n\r\n## License\r\n\r\nCopyright (c) 2012 Tobias Koppers\r\n\r\nMIT (http://www.opensource.org/licenses/mit-license.php)","_id":"enhanced-require@0.2.0","dist":{"shasum":"f875fab462f86b159990f6b8f4c858fe7af1dd6d","tarball":"https://registry.npmjs.org/enhanced-require/-/enhanced-require-0.2.0.tgz","integrity":"sha512-EIN5a0ZZvqTSMJGy8Fmo5/zEuIW/EOQGLdRAEkBS6fj2HoiucrjyyarcfOeNxb/HV6rml4wQ+ym6G8Kk2+WVTw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDgmiCVqr/B42cz2aYlFunbPP0eKQxpGusrF3i6paVL2AiEArffLPOcNNm3uqvesLIKt4emJ9/hakAbaC6qyexnt+G8="}]},"_npmVersion":"1.1.59","_npmUser":{"name":"sokra","email":"tobias.koppers@googlemail.com"},"maintainers":[{"name":"sokra","email":"tobias.koppers@googlemail.com"}]},"0.3.0":{"name":"enhanced-require","version":"0.3.0","author":{"name":"Tobias Koppers @sokra"},"description":"Enhance the require function in node.js with support for loaders which preprocess files and really async require (AMD).","dependencies":{"enhanced-resolve":"0.2.x"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"devDependencies":{"mocha":"*","should":"*"},"main":"lib/require","engines":{"node":">=0.6"},"homepage":"http://github.com/webpack/enhanced-require","scripts":{"test":"node node_modules/mocha/bin/_mocha --reporter spec"},"license":"MIT","readme":"# enhanced-require\r\n\r\nMore features for node.js require.\r\n\r\n* [loader support](https://github.com/sokra/modules-webpack/wiki/Loader-Specification)\r\n* `require.ensure`\r\n* AMD `require`, `define` (from require.js)\r\n* `require.context`\r\n\r\nAsynchron require functions are **really** async. They do not use the sync node.js require, but use a async resolving and async readFile.\r\n\r\nAdd this line to a node.js module to activate the enhanced features in that module:\r\n\r\n``` javascript\r\nrequire = require(\"enhanced-require\")(module);\r\n\r\n// and optionally if your want require.js style defines:\r\nif(typeof define != \"function\") var define = require.define;\r\n```\r\n\r\nThan you can use them:\r\n\r\n``` javascript\r\n// use loaders\r\nvar fileContent = require(\"raw!\"+__filename);\r\n\r\n// use loaders automatically\r\nvar template = require(\"./my-template.jade\");\r\n\r\nvar html = template({content: fileContent});\r\n\r\n// use require.context\r\nvar directoryRequire = require.context(\"raw!./subdir\");\r\nvar txtFile = directoryRequire(\"./aFile.txt\");\r\n\r\n// use require.ensure\r\nrequire.ensure([\"./someFile.js\"], function(require) {\r\n\tvar someFile = require(\"./someFile.js\");\r\n});\r\n\r\n// use AMD define\r\nrequire.define([\"./aDep\"], function(aDep) {\r\n\taDep.run();\r\n});\r\n\r\n// use AMD require\r\nrequire([\"./bDep\"], function(bDep) {\r\n\tbDep.run();\r\n});\r\n```\r\n\r\n## Future Plans\r\n\r\n* `require(\"enhanced-require/install\")` enables support for all modules.\r\n\r\n## License\r\n\r\nCopyright (c) 2012 Tobias Koppers\r\n\r\nMIT (http://www.opensource.org/licenses/mit-license.php)","_id":"enhanced-require@0.3.0","dist":{"shasum":"3b50c9a4a8b581152e5d4548f37d15afadeccc22","tarball":"https://registry.npmjs.org/enhanced-require/-/enhanced-require-0.3.0.tgz","integrity":"sha512-Spb3TWwHpfAIyEzAt9uWMcSQCh7g9Jn3v4eDobVriyWMt0BUnFtnprav4/Q+YJFG+ZgXLscQo9fPfrdFfX+Wrg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD6l6h0cbZuh/7WLHHe391FROjHVyqgqvtO+lf3qMb/egIgerBqKzYYQf770UhCEJDuPccWhbWgnp+LNBWWUVsMSsw="}]},"_npmVersion":"1.1.59","_npmUser":{"name":"sokra","email":"tobias.koppers@googlemail.com"},"maintainers":[{"name":"sokra","email":"tobias.koppers@googlemail.com"}]},"0.3.1":{"name":"enhanced-require","version":"0.3.1","author":{"name":"Tobias Koppers @sokra"},"description":"Enhance the require function in node.js with support for loaders which preprocess files and really async require (AMD).","dependencies":{"enhanced-resolve":"0.2.x"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"devDependencies":{"mocha":"*","should":"*"},"main":"lib/require","engines":{"node":">=0.6"},"homepage":"http://github.com/webpack/enhanced-require","scripts":{"test":"node node_modules/mocha/bin/_mocha --reporter spec"},"license":"MIT","readme":"# enhanced-require\r\n\r\nMore features for node.js require.\r\n\r\n* [loader support](https://github.com/sokra/modules-webpack/wiki/Loader-Specification)\r\n* `require.ensure`\r\n* AMD `require`, `define` (from require.js)\r\n* `require.context`\r\n\r\nAsynchron require functions are **really** async. They do not use the sync node.js require, but use a async resolving and async readFile.\r\n\r\nAdd this line to a node.js module to activate the enhanced features in that module:\r\n\r\n``` javascript\r\nrequire = require(\"enhanced-require\")(module);\r\n\r\n// and optionally if your want require.js style defines:\r\nif(typeof define != \"function\") var define = require.define;\r\n```\r\n\r\nThan you can use them:\r\n\r\n``` javascript\r\n// use loaders\r\nvar fileContent = require(\"raw!\"+__filename);\r\n\r\n// use loaders automatically\r\nvar template = require(\"./my-template.jade\");\r\n\r\nvar html = template({content: fileContent});\r\n\r\n// use require.context\r\nvar directoryRequire = require.context(\"raw!./subdir\");\r\nvar txtFile = directoryRequire(\"./aFile.txt\");\r\n\r\n// use require.ensure\r\nrequire.ensure([\"./someFile.js\"], function(require) {\r\n\tvar someFile = require(\"./someFile.js\");\r\n});\r\n\r\n// use AMD define\r\nrequire.define([\"./aDep\"], function(aDep) {\r\n\taDep.run();\r\n});\r\n\r\n// use AMD require\r\nrequire([\"./bDep\"], function(bDep) {\r\n\tbDep.run();\r\n});\r\n```\r\n\r\n## Future Plans\r\n\r\n* `require(\"enhanced-require/install\")` enables support for all modules.\r\n\r\n## License\r\n\r\nCopyright (c) 2012 Tobias Koppers\r\n\r\nMIT (http://www.opensource.org/licenses/mit-license.php)","_id":"enhanced-require@0.3.1","dist":{"shasum":"5f7bb30de545415639b21580a2112e8dbf683314","tarball":"https://registry.npmjs.org/enhanced-require/-/enhanced-require-0.3.1.tgz","integrity":"sha512-MMXTnMPWyNNgTYqKtrGIcvooSs/ztHRz3o1ArnvpOmcOg/dne0XHltHjc0MraD+CHUEJSe06zh8/A1cOleSwHg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCtcMZ4+b/6ErGQcblG78fZukb8F/zb4TCeNo2VxWm4SgIgElnnsJ9y3l3rMUAljr4/96umLcA5rkQAeWazZnOMGMM="}]},"_npmVersion":"1.1.59","_npmUser":{"name":"sokra","email":"tobias.koppers@googlemail.com"},"maintainers":[{"name":"sokra","email":"tobias.koppers@googlemail.com"}]},"0.4.0-beta":{"name":"enhanced-require","version":"0.4.0-beta","author":{"name":"Tobias Koppers @sokra"},"description":"Enhance the require function in node.js with support for loaders which preprocess files and really async require (AMD). Enables Hot Code Replacement.","dependencies":{"enhanced-resolve":"0.2.x","clone":"0.0.x","buffer-equal":"0.0.x"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"devDependencies":{"mocha":"*","should":"*","raw-loader":"0.2.x"},"main":"lib/require","engines":{"node":">=0.6"},"homepage":"http://github.com/webpack/enhanced-require","scripts":{"test":"node node_modules/mocha/bin/_mocha --reporter spec"},"license":"MIT","readme":"# enhanced-require\r\n\r\nMore features for node.js require.\r\n\r\n* [loader support](https://github.com/sokra/modules-webpack/wiki/Loader-Specification)\r\n* `require.ensure`\r\n* AMD `require`, `define` (from require.js)\r\n* `require.context`\r\n* Hot Code Replacement\r\n\r\nAsynchron require functions are **really** async. They do not use the sync node.js require, but use a async resolving and async readFile.\r\n\r\n## Single module\r\n\r\nAdd this line to a node.js module to activate the enhanced features in that module:\r\n\r\n``` javascript\r\nrequire = require(\"enhanced-require\")(module);\r\n\r\n// and optionally if your want require.js style defines:\r\nif(typeof define != \"function\") var define = require.define;\r\n```\r\n\r\nThan you can use them:\r\n\r\n``` javascript\r\n// use loaders\r\nvar fileContent = require(\"raw!\"+__filename);\r\n\r\n// use loaders automatically\r\nvar template = require(\"./my-template.jade\");\r\n\r\nvar html = template({content: fileContent});\r\n\r\n// use require.context\r\nvar directoryRequire = require.context(\"raw!./subdir\");\r\nvar txtFile = directoryRequire(\"./aFile.txt\");\r\n\r\n// use require.ensure\r\nrequire.ensure([\"./someFile.js\"], function(require) {\r\n\tvar someFile = require(\"./someFile.js\");\r\n});\r\n\r\n// use AMD define\r\nrequire.define([\"./aDep\"], function(aDep) {\r\n\taDep.run();\r\n});\r\n\r\n// use AMD require\r\nrequire([\"./bDep\"], function(bDep) {\r\n\tbDep.doSomething();\r\n});\r\n```\r\n\r\n## Complete application\r\n\r\nCreate a seperate entry module and require your original entry module:\r\n\r\n``` javascript\r\nrequire = require(\"enhanced-require\")(module, {\r\n\trecursive: true, // enable for all modules\r\n\thot: true, // enable hot code replacement\r\n\twatch: true // watch for changes\r\n});\r\n\r\nrequire(\"./startup\");\r\n```\r\n\r\nYou can use all features in `startup.js` and all required modules.\r\n\r\nFor hot code reloading you need to follow the [hot code reloading spec](https://github.com/webpack/enhanced-require/wiki/HCR-Spec).\r\n\r\n## Future Plans\r\n\r\n* cli tool\r\n\r\n## License\r\n\r\nCopyright (c) 2012 Tobias Koppers\r\n\r\nMIT (http://www.opensource.org/licenses/mit-license.php)","_id":"enhanced-require@0.4.0-beta","dist":{"shasum":"0effe23fd7738576afe1b8ef37071c010b934417","tarball":"https://registry.npmjs.org/enhanced-require/-/enhanced-require-0.4.0-beta.tgz","integrity":"sha512-xEunhWpe/h8LJ1vt/AxFGZbI7dAOWQS90bjSm+mC8b9eEKJxXLNuaoJrutcphRgBm1JIaf5Vxvofcn7GCegJYw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBWM81CaVlAl6pP8VE0YXP8HKg1nxIq6gxjCPQDBMBuKAiEAywnxyVIx9/JtubRN5bdoUKe5CePAYkt+6FOLHGK/zkU="}]},"_npmVersion":"1.1.59","_npmUser":{"name":"sokra","email":"tobias.koppers@googlemail.com"},"maintainers":[{"name":"sokra","email":"tobias.koppers@googlemail.com"}]},"0.4.0-beta2":{"name":"enhanced-require","version":"0.4.0-beta2","author":{"name":"Tobias Koppers @sokra"},"description":"Enhance the require function in node.js with support for loaders which preprocess files and really async require (AMD). Enables Hot Code Replacement.","dependencies":{"enhanced-resolve":"0.2.x","clone":"0.0.x","buffer-equal":"0.0.x"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"devDependencies":{"mocha":"*","should":"*","raw-loader":"0.2.x"},"main":"lib/require","engines":{"node":">=0.6"},"homepage":"http://github.com/webpack/enhanced-require","scripts":{"test":"node node_modules/mocha/bin/_mocha --reporter spec"},"license":"MIT","readme":"# enhanced-require\r\n\r\nMore features for node.js require.\r\n\r\n* [loader support](https://github.com/sokra/modules-webpack/wiki/Loader-Specification)\r\n* `require.ensure`\r\n* AMD `require`, `define` (from require.js)\r\n* `require.context`\r\n* Hot Code Replacement\r\n\r\nAsynchron require functions are **really** async. They do not use the sync node.js require, but use a async resolving and async readFile.\r\n\r\n## Single module\r\n\r\nAdd this line to a node.js module to activate the enhanced features in that module:\r\n\r\n``` javascript\r\nrequire = require(\"enhanced-require\")(module);\r\n\r\n// and optionally if your want require.js style defines:\r\nif(typeof define != \"function\") var define = require.define;\r\n```\r\n\r\nThan you can use them:\r\n\r\n``` javascript\r\n// use loaders\r\nvar fileContent = require(\"raw!\"+__filename);\r\n\r\n// use loaders automatically\r\nvar template = require(\"./my-template.jade\");\r\n\r\nvar html = template({content: fileContent});\r\n\r\n// use require.context\r\nvar directoryRequire = require.context(\"raw!./subdir\");\r\nvar txtFile = directoryRequire(\"./aFile.txt\");\r\n\r\n// use require.ensure\r\nrequire.ensure([\"./someFile.js\"], function(require) {\r\n\tvar someFile = require(\"./someFile.js\");\r\n});\r\n\r\n// use AMD define\r\nrequire.define([\"./aDep\"], function(aDep) {\r\n\taDep.run();\r\n});\r\n\r\n// use AMD require\r\nrequire([\"./bDep\"], function(bDep) {\r\n\tbDep.doSomething();\r\n});\r\n```\r\n\r\n## Complete application\r\n\r\nCreate a seperate entry module and require your original entry module:\r\n\r\n``` javascript\r\nrequire = require(\"enhanced-require\")(module, {\r\n\trecursive: true, // enable for all modules\r\n\thot: true, // enable hot code replacement\r\n\twatch: true // watch for changes\r\n});\r\n\r\nrequire(\"./startup\");\r\n```\r\n\r\nYou can use all features in `startup.js` and all required modules.\r\n\r\nFor hot code reloading you need to follow the [hot code reloading spec](https://github.com/webpack/enhanced-require/wiki/HCR-Spec).\r\n\r\n## Future Plans\r\n\r\n* cli tool\r\n\r\n## License\r\n\r\nCopyright (c) 2012 Tobias Koppers\r\n\r\nMIT (http://www.opensource.org/licenses/mit-license.php)","_id":"enhanced-require@0.4.0-beta2","dist":{"shasum":"a6c98af7cac87259f42daad431609ae039670d1e","tarball":"https://registry.npmjs.org/enhanced-require/-/enhanced-require-0.4.0-beta2.tgz","integrity":"sha512-jVBTwZ6CV+JgMUlPVslu/pBaRZY19zEIP/H232L9PZuKKgMPRMac4W3M4OGHxdmFxJnqMODE2izOaBfLDAwBRQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC8skf/gQ4JYkOvjrXTQ8hs+aISZe1T8cSqRM2A2kmggAIgKK3qPF8jsHSwCwtZmAj5OEtf85AlU/BE1gds/4FtVZw="}]},"_npmVersion":"1.1.59","_npmUser":{"name":"sokra","email":"tobias.koppers@googlemail.com"},"maintainers":[{"name":"sokra","email":"tobias.koppers@googlemail.com"}]},"0.4.0-beta3":{"name":"enhanced-require","version":"0.4.0-beta3","author":{"name":"Tobias Koppers @sokra"},"description":"Enhance the require function in node.js with support for loaders which preprocess files and really async require (AMD). Enables Hot Code Replacement.","dependencies":{"enhanced-resolve":"0.3.x","clone":"0.0.x","buffer-equal":"0.0.x"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"devDependencies":{"mocha":"*","should":"*","raw-loader":"0.2.x"},"main":"lib/require","engines":{"node":">=0.6"},"homepage":"http://github.com/webpack/enhanced-require","scripts":{"test":"node node_modules/mocha/bin/_mocha --reporter spec"},"license":"MIT","readme":"# enhanced-require\r\n\r\nMore features for node.js require.\r\n\r\n* [loader support](https://github.com/sokra/modules-webpack/wiki/Loader-Specification)\r\n* `require.ensure`\r\n* AMD `require`, `define` (from require.js)\r\n* `require.context`\r\n* Hot Code Replacement\r\n\r\nAsynchron require functions are **really** async. They do not use the sync node.js require, but use a async resolving and async readFile.\r\n\r\n## Single module\r\n\r\nAdd this line to a node.js module to activate the enhanced features in that module:\r\n\r\n``` javascript\r\nrequire = require(\"enhanced-require\")(module);\r\n\r\n// and optionally if your want require.js style defines:\r\nif(typeof define != \"function\") var define = require.define;\r\n```\r\n\r\nThan you can use them:\r\n\r\n``` javascript\r\n// use loaders\r\nvar fileContent = require(\"raw!\"+__filename);\r\n\r\n// use loaders automatically\r\nvar template = require(\"./my-template.jade\");\r\n\r\nvar html = template({content: fileContent});\r\n\r\n// use require.context\r\nvar directoryRequire = require.context(\"raw!./subdir\");\r\nvar txtFile = directoryRequire(\"./aFile.txt\");\r\n\r\n// use require.ensure\r\nrequire.ensure([\"./someFile.js\"], function(require) {\r\n\tvar someFile = require(\"./someFile.js\");\r\n});\r\n\r\n// use AMD define\r\nrequire.define([\"./aDep\"], function(aDep) {\r\n\taDep.run();\r\n});\r\n\r\n// use AMD require\r\nrequire([\"./bDep\"], function(bDep) {\r\n\tbDep.doSomething();\r\n});\r\n```\r\n\r\n## Complete application\r\n\r\nCreate a seperate entry module and require your original entry module:\r\n\r\n``` javascript\r\nrequire = require(\"enhanced-require\")(module, {\r\n\trecursive: true, // enable for all modules\r\n\thot: true, // enable hot code replacement\r\n\twatch: true // watch for changes\r\n});\r\n\r\nrequire(\"./startup\");\r\n```\r\n\r\nYou can use all features in `startup.js` and all required modules.\r\n\r\nFor hot code reloading you need to follow the [hot code reloading spec](https://github.com/webpack/enhanced-require/wiki/HCR-Spec).\r\n\r\n## Future Plans\r\n\r\n* cli tool\r\n\r\n## License\r\n\r\nCopyright (c) 2012 Tobias Koppers\r\n\r\nMIT (http://www.opensource.org/licenses/mit-license.php)","_id":"enhanced-require@0.4.0-beta3","dist":{"shasum":"fd3b406d6041ae7095420633f43232a47ed397d1","tarball":"https://registry.npmjs.org/enhanced-require/-/enhanced-require-0.4.0-beta3.tgz","integrity":"sha512-I4Qx7zjpsZ2ON20gIrVYM5dKkgK4l2AL8eOnkBnQJ/53VcnazmshVPgwkwxOytNHi7snJP/1Hq/qwusBkg1yLA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCN2P/f/g6Y4g0twF7L8LrMNEzxH6wLHMMcwa0osQ4xwwIhAISPne0h1lii80zZPLknUkooz471T4/sUU0m3wCOBOKi"}]},"_npmVersion":"1.1.59","_npmUser":{"name":"sokra","email":"tobias.koppers@googlemail.com"},"maintainers":[{"name":"sokra","email":"tobias.koppers@googlemail.com"}]},"0.4.0-beta4":{"name":"enhanced-require","version":"0.4.0-beta4","author":{"name":"Tobias Koppers @sokra"},"description":"Enhance the require function in node.js with support for loaders which preprocess files and really async require (AMD). Enables Hot Code Replacement.","dependencies":{"enhanced-resolve":"0.4.x","clone":"0.0.x","buffer-equal":"0.0.x"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"devDependencies":{"mocha":"*","should":"*","raw-loader":"0.2.x","jade-loader":"0.2.x"},"main":"lib/require","bin":{"enhanced-require":"bin/enhanced-require-hot-watch.js"},"engines":{"node":">=0.6"},"homepage":"http://github.com/webpack/enhanced-require","scripts":{"test":"node node_modules/mocha/bin/_mocha --reporter spec"},"license":"MIT","readme":"# enhanced-require\r\n\r\nMore features for node.js require.\r\n\r\n* [loader support](https://github.com/sokra/modules-webpack/wiki/Loader-Specification)\r\n* `require.ensure`\r\n* AMD `require`, `define` (from require.js)\r\n* `require.context`\r\n* Hot Code Replacement\r\n\r\nAsynchron require functions are **really** async. They do not use the sync node.js require, but use a async resolving and async readFile.\r\n\r\n## Single module\r\n\r\nAdd this line to a node.js module to activate the enhanced features in that module:\r\n\r\n``` javascript\r\nrequire = require(\"enhanced-require\")(module);\r\n\r\n// and optionally if your want require.js style defines:\r\nif(typeof define != \"function\") var define = require.define;\r\n```\r\n\r\nThan you can use them:\r\n\r\n``` javascript\r\n// use loaders\r\nvar fileContent = require(\"raw!\"+__filename);\r\n\r\n// use loaders automatically\r\nvar template = require(\"./my-template.jade\");\r\n\r\nvar html = template({content: fileContent});\r\n\r\n// use require.context\r\nvar directoryRequire = require.context(\"raw!./subdir\");\r\nvar txtFile = directoryRequire(\"./aFile.txt\");\r\n\r\n// use require.ensure\r\nrequire.ensure([\"./someFile.js\"], function(require) {\r\n\tvar someFile = require(\"./someFile.js\");\r\n});\r\n\r\n// use AMD define\r\nrequire.define([\"./aDep\"], function(aDep) {\r\n\taDep.run();\r\n});\r\n\r\n// use AMD require\r\nrequire([\"./bDep\"], function(bDep) {\r\n\tbDep.doSomething();\r\n});\r\n```\r\n\r\n## Complete application\r\n\r\nCreate a seperate entry module and require your original entry module:\r\n\r\n``` javascript\r\nrequire = require(\"enhanced-require\")(module, {\r\n\trecursive: true, // enable for all modules\r\n\thot: true, // enable hot code replacement\r\n\twatch: true // watch for changes\r\n});\r\n\r\nrequire(\"./startup\");\r\n```\r\n\r\nYou can use all features in `startup.js` and all required modules.\r\n\r\nFor hot code reloading you need to follow the [hot code reloading spec](https://github.com/webpack/enhanced-require/wiki/HCR-Spec).\r\n\r\n## Future Plans\r\n\r\n* cli tool\r\n\r\n## License\r\n\r\nCopyright (c) 2012 Tobias Koppers\r\n\r\nMIT (http://www.opensource.org/licenses/mit-license.php)","_id":"enhanced-require@0.4.0-beta4","dist":{"shasum":"b41633a7322aae0e97400ef9f7d8415a7a32a4ed","tarball":"https://registry.npmjs.org/enhanced-require/-/enhanced-require-0.4.0-beta4.tgz","integrity":"sha512-4K7ud/KB7PEyWxtiIBXuCcrFf0LFqwKvzz5BqKDO1V8q0Iih4vHrta5Qw7xV5W0nIosI+E3JqkOPISc95i18Qg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHeIIdtXbSY8/wodUf7E+mU/tnAbQtQuOyHDvpwWwCGiAiAspq3QWcu0gOUNP/GHnU+hGjFXH58nQbGY1Rbc8Hlqhg=="}]},"_npmVersion":"1.1.59","_npmUser":{"name":"sokra","email":"tobias.koppers@googlemail.com"},"maintainers":[{"name":"sokra","email":"tobias.koppers@googlemail.com"}]},"0.4.0-beta5":{"name":"enhanced-require","version":"0.4.0-beta5","author":{"name":"Tobias Koppers @sokra"},"description":"Enhance the require function in node.js with support for loaders which preprocess files and really async require (AMD). Enables Hot Code Replacement.","dependencies":{"enhanced-resolve":"0.4.x","clone":"0.0.x","buffer-equal":"0.0.x"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"devDependencies":{"mocha":"*","should":"*","raw-loader":"0.2.x","jade-loader":"0.2.x"},"main":"lib/require","bin":{"enhanced-require":"bin/enhanced-require-hot-watch.js"},"engines":{"node":">=0.6"},"homepage":"http://github.com/webpack/enhanced-require","scripts":{"test":"node node_modules/mocha/bin/_mocha --reporter spec"},"license":"MIT","readme":"# enhanced-require\n\nMore features for node.js require.\n\n* [loader support](https://github.com/sokra/modules-webpack/wiki/Loader-Specification)\n* `require.ensure`\n* AMD `require`, `define` (from require.js)\n* `require.context`\n* [Hot Code Replacement](https://github.com/webpack/enhanced-require/wiki/HCR-Spec)\n* module substitutions for mocking\n\nAsynchron require functions are **really** async. They do not use the sync node.js require, but use a async resolving and async readFile.\n\n## Create a enhanced require function\n\n``` javascript\nvar myRequire = require(\"enhanced-require\")(module, {\n\t// options\n\trecursive: true // enable for all modules recursivly\n\t// This replaces the original require function in loaded modules\n});\n\n// startup your application\nmyRequire(\"./startup\");\n```\n\n## Usage\n\nThan you can use them:\n\n``` javascript\n// use loaders\nvar fileContent = require(\"raw!\"+__filename);\n\n// use loaders automatically\nvar template = require(\"./my-template.jade\");\n\nvar html = template({content: fileContent});\n\n// use require.context\nvar directoryRequire = require.context(\"raw!./subdir\");\nvar txtFile = directoryRequire(\"./aFile.txt\");\n\n// use require.ensure\nrequire.ensure([\"./someFile.js\"], function(require) {\n\tvar someFile = require(\"./someFile.js\");\n});\n\n// use AMD define\nrequire.define([\"./aDep\"], function(aDep) {\n\taDep.run();\n});\n\n// use AMD require\nrequire([\"./bDep\"], function(bDep) {\n\tbDep.doSomething();\n});\n```\n\n## Hot Code Replacement\n\n``` javascript\nrequire(\"enhanced-require\")(module, {\n\trecursive: true, // enable for all modules\n\thot: true, // enable hot code replacement\n\twatch: true // watch for changes\n})(\"./startup\");\n```\n\nFor hot code reloading you need to follow the [hot code reloading spec](https://github.com/webpack/enhanced-require/wiki/HCR-Spec).\n\n## Testing/Mocking\n\n``` javascript\nvar er = require(\"enhanced-require\");\nit(\"should read the config option\", function(done) {\n\tvar subject = er(module, {\n\t\trecursive: true,\n\t\tsubstitutions: {\n\t\t\t// specify the exports of a module directly\n\t\t\t\"../lib/config.json\": {\n\t\t\t\t\"test-option\": { value: 1234 }\n\t\t\t}\n\t\t},\n\t\tsubstitutionFactories: {\n\t\t\t// specify lazy generated exports of a module\n\t\t\t\"../lib/otherConfig.json\": function(require) {\n\t\t\t\t// export the same object as \"config.json\"\n\t\t\t\treturn require(\"../lib/config.json\");\n\t\t\t}\n\t\t}\n\t})(\"../lib/subject\");\n\n\tvar result = subject.getConfigOption(\"test-option\");\n\tshould.exist(result);\n\tresult.should.be.eql({ value: 1234 });\n});\n```\n\n## Options\n\n``` javascript\n{\n\trecursive: false,\n\t// replace require function in required modules with enhanced require method\n\n\tresolve: {\n\t\t// ...\n\t\t// see enhanced-resolve\n\t\t// https://github.com/webpack/enhanced-resolve\n\t},\n\t\n\tsubstitutions: {},\n\tsubstitutionFactories: {},\n\t// See above\n\t// Replace modules with mocks\n\t// keys are resolved and have to exist\n\n\tamd: {},\n\t// The require.amd object\n\n\tenhanced: {},\n\t// The require.enhanced object\n\n\tloader: {},\n\t// additional stuff in the loaderContext\n\n\thot: false,\n\t// enable hot code replacement\n\n\twatch: false,\n\t// Watch for file changes and issue hot replacement\n\n\twatchDelay: 400,\n\t// Time to summarize changes for watching\n}\n```\n\n## Future Plans\n\n* cli tool\n\n## License\n\nCopyright (c) 2012 Tobias Koppers\n\nMIT (http://www.opensource.org/licenses/mit-license.php)","_id":"enhanced-require@0.4.0-beta5","dist":{"shasum":"554e897c524bfec2c4b5af4c33eb85306019a1c0","tarball":"https://registry.npmjs.org/enhanced-require/-/enhanced-require-0.4.0-beta5.tgz","integrity":"sha512-fE07rgjj5X54F8r+JryeT4CPsc0FKe33i/x9L17jK64dewLiNJTU95rqWKrTG5sshznoKGqwEtWTMijP7nI6dw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCITFMo4riqFIQJdzzSz2gPKFqf/UcPngViq7skGQj3RQIhAJXzpYZ05V2JF+nLJ3Ayv1GeqJEDX8qz1DB03x6ZPIf9"}]},"_npmVersion":"1.1.62","_npmUser":{"name":"sokra","email":"tobias.koppers@googlemail.com"},"maintainers":[{"name":"sokra","email":"tobias.koppers@googlemail.com"}]},"0.4.0-beta6":{"name":"enhanced-require","version":"0.4.0-beta6","author":{"name":"Tobias Koppers @sokra"},"description":"Enhance the require function in node.js with support for loaders which preprocess files and really async require (AMD). Enables Hot Code Replacement.","dependencies":{"enhanced-resolve":"0.4.x","clone":"0.0.x","buffer-equal":"0.0.x"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"devDependencies":{"mocha":"*","should":"*","raw-loader":"0.2.x","jade-loader":"0.2.x"},"main":"lib/require","bin":{"enhanced-require":"bin/enhanced-require-hot-watch.js"},"engines":{"node":">=0.6"},"homepage":"http://github.com/webpack/enhanced-require","scripts":{"test":"node node_modules/mocha/bin/_mocha --reporter spec"},"license":"MIT","readme":"# enhanced-require\n\nMore features for node.js require.\n\n* [loader support](https://github.com/sokra/modules-webpack/wiki/Loader-Specification)\n* `require.ensure`\n* AMD `require`, `define` (from require.js)\n* `require.context`\n* [Hot Code Replacement](https://github.com/webpack/enhanced-require/wiki/HCR-Spec)\n* module substitutions for mocking\n\nAsynchron require functions are **really** async. They do not use the sync node.js require, but use a async resolving and async readFile.\n\n## Create a enhanced require function\n\n``` javascript\nvar myRequire = require(\"enhanced-require\")(module, {\n\t// options\n\trecursive: true // enable for all modules recursivly\n\t// This replaces the original require function in loaded modules\n});\n\n// startup your application\nmyRequire(\"./startup\");\n```\n\n## Usage\n\nThan you can use them:\n\n``` javascript\n// use loaders\nvar fileContent = require(\"raw!\"+__filename);\n\n// use loaders automatically\nvar template = require(\"./my-template.jade\");\n\nvar html = template({content: fileContent});\n\n// use require.context\nvar directoryRequire = require.context(\"raw!./subdir\");\nvar txtFile = directoryRequire(\"./aFile.txt\");\n\n// use require.ensure\nrequire.ensure([\"./someFile.js\"], function(require) {\n\tvar someFile = require(\"./someFile.js\");\n});\n\n// use AMD define\nrequire.define([\"./aDep\"], function(aDep) {\n\taDep.run();\n});\n\n// use AMD require\nrequire([\"./bDep\"], function(bDep) {\n\tbDep.doSomething();\n});\n```\n\n## Hot Code Replacement\n\n``` javascript\nrequire(\"enhanced-require\")(module, {\n\trecursive: true, // enable for all modules\n\thot: true, // enable hot code replacement\n\twatch: true // watch for changes\n})(\"./startup\");\n```\n\nFor hot code reloading you need to follow the [hot code reloading spec](https://github.com/webpack/enhanced-require/wiki/HCR-Spec).\n\n## Testing/Mocking\n\n``` javascript\nvar er = require(\"enhanced-require\");\nit(\"should read the config option\", function(done) {\n\tvar subject = er(module, {\n\t\trecursive: true,\n\t\tsubstitutions: {\n\t\t\t// specify the exports of a module directly\n\t\t\t\"../lib/config.json\": {\n\t\t\t\t\"test-option\": { value: 1234 }\n\t\t\t}\n\t\t},\n\t\tsubstitutionFactories: {\n\t\t\t// specify lazy generated exports of a module\n\t\t\t\"../lib/otherConfig.json\": function(require) {\n\t\t\t\t// export the same object as \"config.json\"\n\t\t\t\treturn require(\"../lib/config.json\");\n\t\t\t}\n\t\t}\n\t})(\"../lib/subject\");\n\n\tvar result = subject.getConfigOption(\"test-option\");\n\tshould.exist(result);\n\tresult.should.be.eql({ value: 1234 });\n});\n```\n\n## Options\n\n``` javascript\n{\n\trecursive: false,\n\t// replace require function in required modules with enhanced require method\n\n\tresolve: {\n\t\t// ...\n\t\t// see enhanced-resolve\n\t\t// https://github.com/webpack/enhanced-resolve\n\t},\n\t\n\tsubstitutions: {},\n\tsubstitutionFactories: {},\n\t// See above\n\t// Replace modules with mocks\n\t// keys are resolved and have to exist\n\n\tamd: {},\n\t// The require.amd object\n\n\tenhanced: {},\n\t// The require.enhanced object\n\n\tloader: {},\n\t// additional stuff in the loaderContext\n\n\thot: false,\n\t// enable hot code replacement\n\n\twatch: false,\n\t// Watch for file changes and issue hot replacement\n\n\twatchDelay: 400,\n\t// Time to summarize changes for watching\n}\n```\n\n## Future Plans\n\n* cli tool\n\n## License\n\nCopyright (c) 2012 Tobias Koppers\n\nMIT (http://www.opensource.org/licenses/mit-license.php)","_id":"enhanced-require@0.4.0-beta6","dist":{"shasum":"59239a8119d67ed937d5290c04624748cefd8b34","tarball":"https://registry.npmjs.org/enhanced-require/-/enhanced-require-0.4.0-beta6.tgz","integrity":"sha512-Ot9Ezs0tI1toNVDCbD2h0VIWcm8NwhVbx1YGDg170svkc3+b7y57xPHIO0gg4M1pA+MUULONFdxcyfCjzBcCFQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDyRxbQGOVKEqN7ML5SWFE1kHUVK8L8kin34JeNs6K8xAiEArZxueh6yjaMbndAwaVb6c1UXxLsyzmPxv63diDuUrd4="}]},"_npmVersion":"1.1.62","_npmUser":{"name":"sokra","email":"tobias.koppers@googlemail.com"},"maintainers":[{"name":"sokra","email":"tobias.koppers@googlemail.com"}]},"0.4.0-beta9":{"name":"enhanced-require","version":"0.4.0-beta9","author":{"name":"Tobias Koppers @sokra"},"description":"Enhance the require function in node.js with support for loaders which preprocess files and really async require (AMD). Enables Hot Code Replacement.","dependencies":{"enhanced-resolve":"0.4.x","clone":"0.0.x","buffer-equal":"0.0.x"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"devDependencies":{"mocha":"*","should":"*","raw-loader":"0.2.x","jade-loader":"0.2.x"},"main":"lib/require","bin":{"enhanced-require":"bin/enhanced-require-hot-watch.js"},"engines":{"node":">=0.6"},"homepage":"http://github.com/webpack/enhanced-require","scripts":{"test":"node node_modules/mocha/bin/_mocha --reporter spec"},"license":"MIT","readme":"# enhanced-require\n\nMore features for node.js require.\n\n* [loader support](https://github.com/sokra/modules-webpack/wiki/Loader-Specification)\n* `require.ensure`\n* AMD `require`, `define` (from require.js)\n* `require.context`\n* [Hot Code Replacement](https://github.com/webpack/enhanced-require/wiki/HCR-Spec)\n* module substitutions for mocking\n\nAsynchron require functions are **really** async. They do not use the sync node.js require, but use a async resolving and async readFile.\n\n## Create a enhanced require function\n\n``` javascript\nvar myRequire = require(\"enhanced-require\")(module, {\n\t// options\n\trecursive: true // enable for all modules recursivly\n\t// This replaces the original require function in loaded modules\n});\n\n// startup your application\nmyRequire(\"./startup\");\n```\n\n## Usage\n\nThan you can use them:\n\n``` javascript\n// use loaders\nvar fileContent = require(\"raw!\"+__filename);\n\n// use loaders automatically\nvar template = require(\"./my-template.jade\");\n\nvar html = template({content: fileContent});\n\n// use require.context\nvar directoryRequire = require.context(\"raw!./subdir\");\nvar txtFile = directoryRequire(\"./aFile.txt\");\n\n// use require.ensure\nrequire.ensure([\"./someFile.js\"], function(require) {\n\tvar someFile = require(\"./someFile.js\");\n});\n\n// use AMD define\nrequire.define([\"./aDep\"], function(aDep) {\n\taDep.run();\n});\n\n// use AMD require\nrequire([\"./bDep\"], function(bDep) {\n\tbDep.doSomething();\n});\n```\n\n## Hot Code Replacement\n\n``` javascript\nrequire(\"enhanced-require\")(module, {\n\trecursive: true, // enable for all modules\n\thot: true, // enable hot code replacement\n\twatch: true // watch for changes\n})(\"./startup\");\n```\n\nFor hot code reloading you need to follow the [hot code reloading spec](https://github.com/webpack/enhanced-require/wiki/HCR-Spec).\n\n## Testing/Mocking\n\n``` javascript\nvar er = require(\"enhanced-require\");\nit(\"should read the config option\", function(done) {\n\tvar subject = er(module, {\n\t\trecursive: true,\n\t\tsubstitutions: {\n\t\t\t// specify the exports of a module directly\n\t\t\t\"../lib/config.json\": {\n\t\t\t\t\"test-option\": { value: 1234 }\n\t\t\t}\n\t\t},\n\t\tsubstitutionFactories: {\n\t\t\t// specify lazy generated exports of a module\n\t\t\t\"../lib/otherConfig.json\": function(require) {\n\t\t\t\t// export the same object as \"config.json\"\n\t\t\t\treturn require(\"../lib/config.json\");\n\t\t\t}\n\t\t}\n\t})(\"../lib/subject\");\n\n\tvar result = subject.getConfigOption(\"test-option\");\n\tshould.exist(result);\n\tresult.should.be.eql({ value: 1234 });\n});\n```\n\n## Options\n\n``` javascript\n{\n\trecursive: false,\n\t// replace require function in required modules with enhanced require method\n\n\tresolve: {\n\t\t// ...\n\t\t// see enhanced-resolve\n\t\t// https://github.com/webpack/enhanced-resolve\n\t},\n\t\n\tsubstitutions: {},\n\tsubstitutionFactories: {},\n\t// See above\n\t// Replace modules with mocks\n\t// keys are resolved and have to exist\n\n\tamd: {},\n\t// The require.amd object\n\n\tenhanced: {},\n\t// The require.enhanced object\n\n\tloader: {},\n\t// additional stuff in the loaderContext\n\n\thot: false,\n\t// enable hot code replacement\n\n\twatch: false,\n\t// Watch for file changes and issue hot replacement\n\n\twatchDelay: 400,\n\t// Time to summarize changes for watching\n}\n```\n\n## Future Plans\n\n* cli tool\n\n## License\n\nCopyright (c) 2012 Tobias Koppers\n\nMIT (http://www.opensource.org/licenses/mit-license.php)","_id":"enhanced-require@0.4.0-beta9","dist":{"shasum":"9bf9eab64709eaab12e87d3c055f746cd334095c","tarball":"https://registry.npmjs.org/enhanced-require/-/enhanced-require-0.4.0-beta9.tgz","integrity":"sha512-94tAVHBVBWBwfflTWpctpqPn/TX3DRCRuIuehwa1SLF+Mb4M0GzeKoEm+KoeDfzNGMIA7mr72wpZs2xJVeaW2Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDE8qBNtqXOH4Kb7p3unZxOD1iDe8sKjQ3bajNtfQINtAIgXmqUSYW96BJlk6qgNuXc4QXprjfg8rCb2YV2zFs0JeI="}]},"_npmVersion":"1.1.62","_npmUser":{"name":"sokra","email":"tobias.koppers@googlemail.com"},"maintainers":[{"name":"sokra","email":"tobias.koppers@googlemail.com"}]},"0.4.0-beta10":{"name":"enhanced-require","version":"0.4.0-beta10","author":{"name":"Tobias Koppers @sokra"},"description":"Enhance the require function in node.js with support for loaders which preprocess files and really async require (AMD). Enables Hot Code Replacement.","dependencies":{"enhanced-resolve":"0.4.x","clone":"0.0.x","buffer-equal":"0.0.x"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"devDependencies":{"mocha":"*","should":"*","raw-loader":"0.2.x","jade-loader":"0.2.x"},"main":"lib/require","bin":{"enhanced-require":"bin/enhanced-require-hot-watch.js"},"engines":{"node":">=0.6"},"homepage":"http://github.com/webpack/enhanced-require","scripts":{"test":"node node_modules/mocha/bin/_mocha --reporter spec"},"license":"MIT","readme":"# enhanced-require\r\n\r\nMore features for node.js require.\r\n\r\n* [loader support](https://github.com/sokra/modules-webpack/wiki/Loader-Specification)\r\n* `require.ensure`\r\n* AMD `require`, `define` (from require.js)\r\n* `require.context`\r\n* [Hot Code Replacement](https://github.com/webpack/enhanced-require/wiki/HCR-Spec)\r\n* module substitutions for mocking\r\n\r\nAsynchron require functions are **really** async. They do not use the sync node.js require, but use a async resolving and async readFile.\r\n\r\n## Create a enhanced require function\r\n\r\n``` javascript\r\nvar myRequire = require(\"enhanced-require\")(module, {\r\n\t// options\r\n\trecursive: true // enable for all modules recursivly\r\n\t// This replaces the original require function in loaded modules\r\n});\r\n\r\n// startup your application\r\nmyRequire(\"./startup\");\r\n```\r\n\r\n## Usage\r\n\r\nThan you can use them:\r\n\r\n``` javascript\r\n// use loaders\r\nvar fileContent = require(\"raw!\"+__filename);\r\n\r\n// use loaders automatically\r\nvar template = require(\"./my-template.jade\");\r\n\r\nvar html = template({content: fileContent});\r\n\r\n// use require.context\r\nvar directoryRequire = require.context(\"raw!./subdir\");\r\nvar txtFile = directoryRequire(\"./aFile.txt\");\r\n\r\n// use require.ensure\r\nrequire.ensure([\"./someFile.js\"], function(require) {\r\n\tvar someFile = require(\"./someFile.js\");\r\n});\r\n\r\n// use AMD define\r\nrequire.define([\"./aDep\"], function(aDep) {\r\n\taDep.run();\r\n});\r\n\r\n// use AMD require\r\nrequire([\"./bDep\"], function(bDep) {\r\n\tbDep.doSomething();\r\n});\r\n```\r\n\r\n## Hot Code Replacement\r\n\r\n``` javascript\r\nrequire(\"enhanced-require\")(module, {\r\n\trecursive: true, // enable for all modules\r\n\thot: true, // enable hot code replacement\r\n\twatch: true // watch for changes\r\n})(\"./startup\");\r\n```\r\n\r\nFor hot code reloading you need to follow the [hot code reloading spec](https://github.com/webpack/enhanced-require/wiki/HCR-Spec).\r\n\r\n## Testing/Mocking\r\n\r\n``` javascript\r\nvar er = require(\"enhanced-require\");\r\nit(\"should read the config option\", function(done) {\r\n\tvar subject = er(module, {\r\n\t\trecursive: true,\r\n\t\tsubstitutions: {\r\n\t\t\t// specify the exports of a module directly\r\n\t\t\t\"../lib/config.json\": {\r\n\t\t\t\t\"test-option\": { value: 1234 }\r\n\t\t\t}\r\n\t\t},\r\n\t\tsubstitutionFactories: {\r\n\t\t\t// specify lazy generated exports of a module\r\n\t\t\t\"../lib/otherConfig.json\": function(require) {\r\n\t\t\t\t// export the same object as \"config.json\"\r\n\t\t\t\treturn require(\"../lib/config.json\");\r\n\t\t\t}\r\n\t\t}\r\n\t})(\"../lib/subject\");\r\n\r\n\tvar result = subject.getConfigOption(\"test-option\");\r\n\tshould.exist(result);\r\n\tresult.should.be.eql({ value: 1234 });\r\n});\r\n```\r\n\r\n## Options\r\n\r\n``` javascript\r\n{\r\n\trecursive: false,\r\n\t// replace require function in required modules with enhanced require method\r\n\r\n\tresolve: {\r\n\t\t// ...\r\n\t\t// see enhanced-resolve\r\n\t\t// https://github.com/webpack/enhanced-resolve\r\n\t},\r\n\t\r\n\tsubstitutions: {},\r\n\tsubstitutionFactories: {},\r\n\t// See above\r\n\t// Replace modules with mocks\r\n\t// keys are resolved and have to exist\r\n\r\n\tamd: {},\r\n\t// The require.amd object\r\n\r\n\tenhanced: {},\r\n\t// The require.enhanced object\r\n\r\n\tloader: {},\r\n\t// additional stuff in the loaderContext\r\n\r\n\thot: false,\r\n\t// enable hot code replacement\r\n\r\n\twatch: false,\r\n\t// Watch for file changes and issue hot replacement\r\n\r\n\twatchDelay: 400,\r\n\t// Time to summarize changes for watching\r\n}\r\n```\r\n\r\n## Future Plans\r\n\r\n* cli tool\r\n\r\n## License\r\n\r\nCopyright (c) 2012 Tobias Koppers\r\n\r\nMIT (http://www.opensource.org/licenses/mit-license.php)","_id":"enhanced-require@0.4.0-beta10","dist":{"shasum":"67e6c273b80ab153edf44916b98f17a7e6c43560","tarball":"https://registry.npmjs.org/enhanced-require/-/enhanced-require-0.4.0-beta10.tgz","integrity":"sha512-EflckuCPHLgOVhJAL8eJn+EvtI/tkeXGG2ddJ43KjhyGFfLX7aJR9irytI6PCkDZNrfabH259PLLFkCwOkUkNw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGXv3chbs6cKZwXSBkT3YOgq471RySVL7inTEXroD2MYAiBJYzaz/vZhH4woJ8kCOEsEjZ41M244Y2oS1U55nfpK4A=="}]},"_npmVersion":"1.1.59","_npmUser":{"name":"sokra","email":"tobias.koppers@googlemail.com"},"maintainers":[{"name":"sokra","email":"tobias.koppers@googlemail.com"}]},"0.4.0-beta11":{"name":"enhanced-require","version":"0.4.0-beta11","author":{"name":"Tobias Koppers @sokra"},"description":"Enhance the require function in node.js with support for loaders which preprocess files and really async require (AMD). Enables Hot Code Replacement.","dependencies":{"enhanced-resolve":"0.4.x","clone":"0.0.x","buffer-equal":"0.0.x"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"devDependencies":{"mocha":"*","should":"*","raw-loader":"0.2.x","jade-loader":"0.2.x"},"main":"lib/require","bin":{"enhanced-require":"bin/enhanced-require-hot-watch.js"},"engines":{"node":">=0.6"},"homepage":"http://github.com/webpack/enhanced-require","scripts":{"test":"node node_modules/mocha/bin/_mocha --reporter spec"},"license":"MIT","readme":"# enhanced-require\n\nMore features for node.js require.\n\n* [loader support](https://github.com/sokra/modules-webpack/wiki/Loader-Specification)\n* `require.ensure`\n* AMD `require`, `define` (from require.js)\n* `require.context`\n* [Hot Code Replacement](https://github.com/webpack/enhanced-require/wiki/HCR-Spec)\n* module substitutions for mocking\n\nAsynchron require functions are **really** async. They do not use the sync node.js require, but use a async resolving and async readFile.\n\n## Create a enhanced require function\n\n``` javascript\nvar myRequire = require(\"enhanced-require\")(module, {\n\t// options\n\trecursive: true // enable for all modules recursivly\n\t// This replaces the original require function in loaded modules\n});\n\n// startup your application\nmyRequire(\"./startup\");\n```\n\n## Usage\n\nThan you can use them:\n\n``` javascript\n// use loaders\nvar fileContent = require(\"raw!\"+__filename);\n\n// use loaders automatically\nvar template = require(\"./my-template.jade\");\n\nvar html = template({content: fileContent});\n\n// use require.context\nvar directoryRequire = require.context(\"raw!./subdir\");\nvar txtFile = directoryRequire(\"./aFile.txt\");\n\n// use require.ensure\nrequire.ensure([\"./someFile.js\"], function(require) {\n\tvar someFile = require(\"./someFile.js\");\n});\n\n// use AMD define\nrequire.define([\"./aDep\"], function(aDep) {\n\taDep.run();\n});\n\n// use AMD require\nrequire([\"./bDep\"], function(bDep) {\n\tbDep.doSomething();\n});\n```\n\n## Hot Code Replacement\n\n``` javascript\nrequire(\"enhanced-require\")(module, {\n\trecursive: true, // enable for all modules\n\thot: true, // enable hot code replacement\n\twatch: true // watch for changes\n})(\"./startup\");\n```\n\nFor hot code reloading you need to follow the [hot code reloading spec](https://github.com/webpack/enhanced-require/wiki/HCR-Spec).\n\n## Testing/Mocking\n\n``` javascript\nvar er = require(\"enhanced-require\");\nit(\"should read the config option\", function(done) {\n\tvar subject = er(module, {\n\t\trecursive: true,\n\t\tsubstitutions: {\n\t\t\t// specify the exports of a module directly\n\t\t\t\"../lib/config.json\": {\n\t\t\t\t\"test-option\": { value: 1234 }\n\t\t\t}\n\t\t},\n\t\tsubstitutionFactories: {\n\t\t\t// specify lazy generated exports of a module\n\t\t\t\"../lib/otherConfig.json\": function(require) {\n\t\t\t\t// export the same object as \"config.json\"\n\t\t\t\treturn require(\"../lib/config.json\");\n\t\t\t}\n\t\t}\n\t})(\"../lib/subject\");\n\n\tvar result = subject.getConfigOption(\"test-option\");\n\tshould.exist(result);\n\tresult.should.be.eql({ value: 1234 });\n});\n```\n\n## Options\n\n``` javascript\n{\n\trecursive: false,\n\t// replace require function in required modules with enhanced require method\n\n\tresolve: {\n\t\t// ...\n\t\t// see enhanced-resolve\n\t\t// https://github.com/webpack/enhanced-resolve\n\t},\n\t\n\tsubstitutions: {},\n\tsubstitutionFactories: {},\n\t// See above\n\t// Replace modules with mocks\n\t// keys are resolved and have to exist\n\n\tamd: {},\n\t// The require.amd object\n\n\tenhanced: {},\n\t// The require.enhanced object\n\n\tloader: {},\n\t// additional stuff in the loaderContext\n\n\thot: false,\n\t// enable hot code replacement\n\n\twatch: false,\n\t// Watch for file changes and issue hot replacement\n\n\twatchDelay: 400,\n\t// Time to summarize changes for watching\n}\n```\n\n## Future Plans\n\n* cli tool\n\n## License\n\nCopyright (c) 2012 Tobias Koppers\n\nMIT (http://www.opensource.org/licenses/mit-license.php)","_id":"enhanced-require@0.4.0-beta11","dist":{"shasum":"6eed2cfb969377bb3ca6fedf36b2f582382c7be7","tarball":"https://registry.npmjs.org/enhanced-require/-/enhanced-require-0.4.0-beta11.tgz","integrity":"sha512-VVv+SWawDWoTaQ4ynvorhOueGH5QkbL6KMpKGgH8xEbXumeXLvi1wct5mjQtWks1n8Ievo17j3SgxiJSc8IgIA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDlGYVMMCfX4Zpnr2lAeqdZeZ1wO6lZrEYXrd9GezvPrgIgUE7/o3WucemfQXH4Fwj1IfewW6sKcDT7Fj8IcshKG2Y="}]},"_npmVersion":"1.1.62","_npmUser":{"name":"sokra","email":"tobias.koppers@googlemail.com"},"maintainers":[{"name":"sokra","email":"tobias.koppers@googlemail.com"}]},"0.4.0-beta12":{"name":"enhanced-require","version":"0.4.0-beta12","author":{"name":"Tobias Koppers @sokra"},"description":"Enhance the require function in node.js with support for loaders which preprocess files and really async require (AMD). Enables Hot Code Replacement.","dependencies":{"enhanced-resolve":"0.4.x","clone":"0.0.x","buffer-equal":"0.0.x"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"devDependencies":{"mocha":"*","should":"*","raw-loader":"0.2.x","jade-loader":"0.2.x"},"main":"lib/require","bin":{"enhanced-require":"bin/enhanced-require-hot-watch.js"},"engines":{"node":">=0.6"},"homepage":"http://github.com/webpack/enhanced-require","scripts":{"test":"node node_modules/mocha/bin/_mocha --reporter spec"},"license":"MIT","readme":"# enhanced-require\r\n\r\nMore features for node.js require.\r\n\r\n* [loader support](https://github.com/sokra/modules-webpack/wiki/Loader-Specification)\r\n* `require.ensure`\r\n* AMD `require`, `define` (from require.js)\r\n* `require.context`\r\n* [Hot Code Replacement](https://github.com/webpack/enhanced-require/wiki/HCR-Spec)\r\n* module substitutions for mocking\r\n\r\nAsynchron require functions are **really** async. They do not use the sync node.js require, but use a async resolving and async readFile.\r\n\r\n## Create a enhanced require function\r\n\r\n``` javascript\r\nvar myRequire = require(\"enhanced-require\")(module, {\r\n\t// options\r\n\trecursive: true // enable for all modules recursivly\r\n\t// This replaces the original require function in loaded modules\r\n});\r\n\r\n// startup your application\r\nmyRequire(\"./startup\");\r\n```\r\n\r\n## Usage\r\n\r\nThan you can use them:\r\n\r\n``` javascript\r\n// use loaders\r\nvar fileContent = require(\"raw!\"+__filename);\r\n\r\n// use loaders automatically\r\nvar template = require(\"./my-template.jade\");\r\n\r\nvar html = template({content: fileContent});\r\n\r\n// use require.context\r\nvar directoryRequire = require.context(\"raw!./subdir\");\r\nvar txtFile = directoryRequire(\"./aFile.txt\");\r\n\r\n// use require.ensure\r\nrequire.ensure([\"./someFile.js\"], function(require) {\r\n\tvar someFile = require(\"./someFile.js\");\r\n});\r\n\r\n// use AMD define\r\nrequire.define([\"./aDep\"], function(aDep) {\r\n\taDep.run();\r\n});\r\n\r\n// use AMD require\r\nrequire([\"./bDep\"], function(bDep) {\r\n\tbDep.doSomething();\r\n});\r\n```\r\n\r\n## Hot Code Replacement\r\n\r\n``` javascript\r\nrequire(\"enhanced-require\")(module, {\r\n\trecursive: true, // enable for all modules\r\n\thot: true, // enable hot code replacement\r\n\twatch: true // watch for changes\r\n})(\"./startup\");\r\n```\r\n\r\nFor hot code reloading you need to follow the [hot code reloading spec](https://github.com/webpack/enhanced-require/wiki/HCR-Spec).\r\n\r\n## Testing/Mocking\r\n\r\n``` javascript\r\nvar er = require(\"enhanced-require\");\r\nit(\"should read the config option\", function(done) {\r\n\tvar subject = er(module, {\r\n\t\trecursive: true,\r\n\t\tsubstitutions: {\r\n\t\t\t// specify the exports of a module directly\r\n\t\t\t\"../lib/config.json\": {\r\n\t\t\t\t\"test-option\": { value: 1234 }\r\n\t\t\t}\r\n\t\t},\r\n\t\tsubstitutionFactories: {\r\n\t\t\t// specify lazy generated exports of a module\r\n\t\t\t\"../lib/otherConfig.json\": function(require) {\r\n\t\t\t\t// export the same object as \"config.json\"\r\n\t\t\t\treturn require(\"../lib/config.json\");\r\n\t\t\t}\r\n\t\t}\r\n\t})(\"../lib/subject\");\r\n\r\n\tvar result = subject.getConfigOption(\"test-option\");\r\n\tshould.exist(result);\r\n\tresult.should.be.eql({ value: 1234 });\r\n});\r\n```\r\n\r\n## Options\r\n\r\n``` javascript\r\n{\r\n\trecursive: false,\r\n\t// replace require function in required modules with enhanced require method\r\n\r\n\tresolve: {\r\n\t\t// ...\r\n\t\t// see enhanced-resolve\r\n\t\t// https://github.com/webpack/enhanced-resolve\r\n\t},\r\n\t\r\n\tsubstitutions: {},\r\n\tsubstitutionFactories: {},\r\n\t// See above\r\n\t// Replace modules with mocks\r\n\t// keys are resolved and have to exist\r\n\r\n\tamd: {},\r\n\t// The require.amd object\r\n\r\n\tenhanced: {},\r\n\t// The require.enhanced object\r\n\r\n\tloader: {},\r\n\t// additional stuff in the loaderContext\r\n\r\n\thot: false,\r\n\t// enable hot code replacement\r\n\r\n\twatch: false,\r\n\t// Watch for file changes and issue hot replacement\r\n\r\n\twatchDelay: 400,\r\n\t// Time to summarize changes for watching\r\n}\r\n```\r\n\r\n## Future Plans\r\n\r\n* cli tool\r\n\r\n## License\r\n\r\nCopyright (c) 2012 Tobias Koppers\r\n\r\nMIT (http://www.opensource.org/licenses/mit-license.php)","_id":"enhanced-require@0.4.0-beta12","dist":{"shasum":"49fdf318e9756a018a72c5898e4f83a786df7f99","tarball":"https://registry.npmjs.org/enhanced-require/-/enhanced-require-0.4.0-beta12.tgz","integrity":"sha512-6b4PH17LqhClDeq4GvGWxJRhYSFxNlc35ah7kw2XYwYg8Ps5KcsrO4tLgHPIYHYhm7URHeaRvrInnM2DKwAu7A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHDrrLHU852AgCWVG1dVTPfz5X/uej263v7qmCGqJA6HAiEAt3fVRcbR145QJ/YHuMBEkQR8NR3Dc1jn3EcnzqOfrUk="}]},"_npmVersion":"1.1.59","_npmUser":{"name":"sokra","email":"tobias.koppers@googlemail.com"},"maintainers":[{"name":"sokra","email":"tobias.koppers@googlemail.com"}]},"0.4.0-beta13":{"name":"enhanced-require","version":"0.4.0-beta13","author":{"name":"Tobias Koppers @sokra"},"description":"Enhance the require function in node.js with support for loaders which preprocess files and really async require (AMD). Enables Hot Code Replacement.","dependencies":{"enhanced-resolve":"0.4.x","clone":"0.0.x","buffer-equal":"0.0.x"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"devDependencies":{"mocha":"*","should":"*","raw-loader":"0.2.x","jade-loader":"0.2.x"},"main":"lib/require","bin":{"enhanced-require":"bin/enhanced-require-hot-watch.js"},"engines":{"node":">=0.6"},"homepage":"http://github.com/webpack/enhanced-require","scripts":{"test":"node node_modules/mocha/bin/_mocha --reporter spec"},"license":"MIT","readme":"# enhanced-require\r\n\r\nMore features for node.js require.\r\n\r\n* [loader support](https://github.com/sokra/modules-webpack/wiki/Loader-Specification)\r\n* `require.ensure`\r\n* AMD `require`, `define` (from require.js)\r\n* `require.context`\r\n* [Hot Code Replacement](https://github.com/webpack/enhanced-require/wiki/HCR-Spec)\r\n* module substitutions for mocking\r\n\r\nAsynchron require functions are **really** async. They do not use the sync node.js require, but use a async resolving and async readFile.\r\n\r\n## Create a enhanced require function\r\n\r\n``` javascript\r\nvar myRequire = require(\"enhanced-require\")(module, {\r\n\t// options\r\n\trecursive: true // enable for all modules recursivly\r\n\t// This replaces the original require function in loaded modules\r\n});\r\n\r\n// startup your application\r\nmyRequire(\"./startup\");\r\n```\r\n\r\n## Usage\r\n\r\nThan you can use them:\r\n\r\n``` javascript\r\n// use loaders\r\nvar fileContent = require(\"raw!\"+__filename);\r\n\r\n// use loaders automatically\r\nvar template = require(\"./my-template.jade\");\r\n\r\nvar html = template({content: fileContent});\r\n\r\n// use require.context\r\nvar directoryRequire = require.context(\"raw!./subdir\");\r\nvar txtFile = directoryRequire(\"./aFile.txt\");\r\n\r\n// use require.ensure\r\nrequire.ensure([\"./someFile.js\"], function(require) {\r\n\tvar someFile = require(\"./someFile.js\");\r\n});\r\n\r\n// use AMD define\r\nrequire.define([\"./aDep\"], function(aDep) {\r\n\taDep.run();\r\n});\r\n\r\n// use AMD require\r\nrequire([\"./bDep\"], function(bDep) {\r\n\tbDep.doSomething();\r\n});\r\n```\r\n\r\n## Hot Code Replacement\r\n\r\n``` javascript\r\nrequire(\"enhanced-require\")(module, {\r\n\trecursive: true, // enable for all modules\r\n\thot: true, // enable hot code replacement\r\n\twatch: true // watch for changes\r\n})(\"./startup\");\r\n```\r\n\r\nFor hot code reloading you need to follow the [hot code reloading spec](https://github.com/webpack/enhanced-require/wiki/HCR-Spec).\r\n\r\n## Testing/Mocking\r\n\r\n``` javascript\r\nvar er = require(\"enhanced-require\");\r\nit(\"should read the config option\", function(done) {\r\n\tvar subject = er(module, {\r\n\t\trecursive: true,\r\n\t\tsubstitutions: {\r\n\t\t\t// specify the exports of a module directly\r\n\t\t\t\"../lib/config.json\": {\r\n\t\t\t\t\"test-option\": { value: 1234 }\r\n\t\t\t}\r\n\t\t},\r\n\t\tsubstitutionFactories: {\r\n\t\t\t// specify lazy generated exports of a module\r\n\t\t\t\"../lib/otherConfig.json\": function(require) {\r\n\t\t\t\t// export the same object as \"config.json\"\r\n\t\t\t\treturn require(\"../lib/config.json\");\r\n\t\t\t}\r\n\t\t}\r\n\t})(\"../lib/subject\");\r\n\r\n\tvar result = subject.getConfigOption(\"test-option\");\r\n\tshould.exist(result);\r\n\tresult.should.be.eql({ value: 1234 });\r\n});\r\n```\r\n\r\n## Options\r\n\r\n``` javascript\r\n{\r\n\trecursive: false,\r\n\t// replace require function in required modules with enhanced require method\r\n\r\n\tresolve: {\r\n\t\t// ...\r\n\t\t// see enhanced-resolve\r\n\t\t// https://github.com/webpack/enhanced-resolve\r\n\t},\r\n\t\r\n\tsubstitutions: {},\r\n\tsubstitutionFactories: {},\r\n\t// See above\r\n\t// Replace modules with mocks\r\n\t// keys are resolved and have to exist\r\n\r\n\tamd: {},\r\n\t// The require.amd object\r\n\r\n\tenhanced: {},\r\n\t// The require.enhanced object\r\n\r\n\tloader: {},\r\n\t// additional stuff in the loaderContext\r\n\r\n\thot: false,\r\n\t// enable hot code replacement\r\n\r\n\twatch: false,\r\n\t// Watch for file changes and issue hot replacement\r\n\r\n\twatchDelay: 400,\r\n\t// Time to summarize changes for watching\r\n}\r\n```\r\n\r\n## Future Plans\r\n\r\n* cli tool\r\n\r\n## License\r\n\r\nCopyright (c) 2012 Tobias Koppers\r\n\r\nMIT (http://www.opensource.org/licenses/mit-license.php)","_id":"enhanced-require@0.4.0-beta13","dist":{"shasum":"84cc3870873e3454d8ba5097643e11ab77281165","tarball":"https://registry.npmjs.org/enhanced-require/-/enhanced-require-0.4.0-beta13.tgz","integrity":"sha512-jvbPur83jGT13tWgEZAkPEOECK+GfEl3Zd8CSxGlbolD59ioPmDvPGx4bWlhIKQ05UZjBAlPpCIuhN03+BJ27A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDV3apmwTWYTs5l7hLr61iPs0DGJ8YIVFlyT1DMEy+kCAIhAJrUmKFsnArLlnIEPCyV0VwG6R6REpQl8t0/ZyuQ5SMV"}]},"_npmVersion":"1.1.63","_npmUser":{"name":"sokra","email":"tobias.koppers@googlemail.com"},"maintainers":[{"name":"sokra","email":"tobias.koppers@googlemail.com"}]},"0.4.0-beta14":{"name":"enhanced-require","version":"0.4.0-beta14","author":{"name":"Tobias Koppers @sokra"},"description":"Enhance the require function in node.js with support for loaders which preprocess files and really async require (AMD). Enables Hot Code Replacement.","dependencies":{"enhanced-resolve":"0.4.x","clone":"0.0.x","buffer-equal":"0.0.x"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"devDependencies":{"mocha":"*","should":"*","raw-loader":"0.2.x","jade-loader":"0.2.x"},"main":"lib/require","bin":{"enhanced-require":"bin/enhanced-require-hot-watch.js"},"engines":{"node":">=0.6"},"homepage":"http://github.com/webpack/enhanced-require","scripts":{"test":"node node_modules/mocha/bin/_mocha --reporter spec"},"license":"MIT","readme":"# enhanced-require\r\n\r\nMore features for node.js require.\r\n\r\n* [loader support](https://github.com/sokra/modules-webpack/wiki/Loader-Specification)\r\n* `require.ensure`\r\n* AMD `require`, `define` (from require.js)\r\n* `require.context`\r\n* [Hot Code Replacement](https://github.com/webpack/enhanced-require/wiki/HCR-Spec)\r\n* module substitutions for mocking\r\n\r\nAsynchron require functions are **really** async. They do not use the sync node.js require, but use a async resolving and async readFile.\r\n\r\n## Create a enhanced require function\r\n\r\n``` javascript\r\nvar myRequire = require(\"enhanced-require\")(module, {\r\n\t// options\r\n\trecursive: true // enable for all modules recursivly\r\n\t// This replaces the original require function in loaded modules\r\n});\r\n\r\n// startup your application\r\nmyRequire(\"./startup\");\r\n```\r\n\r\n## Usage\r\n\r\nThan you can use them:\r\n\r\n``` javascript\r\n// use loaders\r\nvar fileContent = require(\"raw!\"+__filename);\r\n\r\n// use loaders automatically\r\nvar template = require(\"./my-template.jade\");\r\n\r\nvar html = template({content: fileContent});\r\n\r\n// use require.context\r\nvar directoryRequire = require.context(\"raw!./subdir\");\r\nvar txtFile = directoryRequire(\"./aFile.txt\");\r\n\r\n// use require.ensure\r\nrequire.ensure([\"./someFile.js\"], function(require) {\r\n\tvar someFile = require(\"./someFile.js\");\r\n});\r\n\r\n// use AMD define\r\nrequire.define([\"./aDep\"], function(aDep) {\r\n\taDep.run();\r\n});\r\n\r\n// use AMD require\r\nrequire([\"./bDep\"], function(bDep) {\r\n\tbDep.doSomething();\r\n});\r\n```\r\n\r\n## Hot Code Replacement\r\n\r\n``` javascript\r\nrequire(\"enhanced-require\")(module, {\r\n\trecursive: true, // enable for all modules\r\n\thot: true, // enable hot code replacement\r\n\twatch: true // watch for changes\r\n})(\"./startup\");\r\n```\r\n\r\nFor hot code reloading you need to follow the [hot code reloading spec](https://github.com/webpack/enhanced-require/wiki/HCR-Spec).\r\n\r\n## Testing/Mocking\r\n\r\n``` javascript\r\nvar er = require(\"enhanced-require\");\r\nit(\"should read the config option\", function(done) {\r\n\tvar subject = er(module, {\r\n\t\trecursive: true,\r\n\t\tsubstitutions: {\r\n\t\t\t// specify the exports of a module directly\r\n\t\t\t\"../lib/config.json\": {\r\n\t\t\t\t\"test-option\": { value: 1234 }\r\n\t\t\t}\r\n\t\t},\r\n\t\tsubstitutionFactories: {\r\n\t\t\t// specify lazy generated exports of a module\r\n\t\t\t\"../lib/otherConfig.json\": function(require) {\r\n\t\t\t\t// export the same object as \"config.json\"\r\n\t\t\t\treturn require(\"../lib/config.json\");\r\n\t\t\t}\r\n\t\t}\r\n\t})(\"../lib/subject\");\r\n\r\n\tvar result = subject.getConfigOption(\"test-option\");\r\n\tshould.exist(result);\r\n\tresult.should.be.eql({ value: 1234 });\r\n});\r\n```\r\n\r\n## Options\r\n\r\n``` javascript\r\n{\r\n\trecursive: false,\r\n\t// replace require function in required modules with enhanced require method\r\n\r\n\tresolve: {\r\n\t\t// ...\r\n\t\t// see enhanced-resolve\r\n\t\t// https://github.com/webpack/enhanced-resolve\r\n\t},\r\n\t\r\n\tsubstitutions: {},\r\n\tsubstitutionFactories: {},\r\n\t// See above\r\n\t// Replace modules with mocks\r\n\t// keys are resolved and have to exist\r\n\r\n\tamd: {},\r\n\t// The require.amd object\r\n\r\n\tenhanced: {},\r\n\t// The require.enhanced object\r\n\r\n\tloader: {},\r\n\t// additional stuff in the loaderContext\r\n\r\n\thot: false,\r\n\t// enable hot code replacement\r\n\r\n\twatch: false,\r\n\t// Watch for file changes and issue hot replacement\r\n\r\n\twatchDelay: 400,\r\n\t// Time to summarize changes for watching\r\n}\r\n```\r\n\r\n## Future Plans\r\n\r\n* cli tool\r\n\r\n## License\r\n\r\nCopyright (c) 2012 Tobias Koppers\r\n\r\nMIT (http://www.opensource.org/licenses/mit-license.php)","_id":"enhanced-require@0.4.0-beta14","dist":{"shasum":"7340238b43439c49d049c095ec0191ef55c4da4b","tarball":"https://registry.npmjs.org/enhanced-require/-/enhanced-require-0.4.0-beta14.tgz","integrity":"sha512-qhv+npIBKW4PxZ/MTd1LqEx73GaFKUm6kxGoGDSEEoQnKdgN9oQebrMbzVm+jWGklopemmzaFotebcxtJdRjeg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAoxTJO4LiciYW8x4QjfU4SjZBIB7wpUXnXvvaT1TO9EAiEAttpHXXxl8gkqVaq0sYQOBY/WYupZMTx1Ys1T5PykW6s="}]},"_npmVersion":"1.1.59","_npmUser":{"name":"sokra","email":"tobias.koppers@googlemail.com"},"maintainers":[{"name":"sokra","email":"tobias.koppers@googlemail.com"}]},"0.4.0-beta15":{"name":"enhanced-require","version":"0.4.0-beta15","author":{"name":"Tobias Koppers @sokra"},"description":"Enhance the require function in node.js with support for loaders which preprocess files and really async require (AMD). Enables Hot Code Replacement.","dependencies":{"enhanced-resolve":"0.4.x","clone":"0.0.x","buffer-equal":"0.0.x"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"devDependencies":{"mocha":"*","should":"*","raw-loader":"0.2.x","jade-loader":"0.2.x"},"main":"lib/require","bin":{"enhanced-require":"bin/enhanced-require-hot-watch.js"},"engines":{"node":">=0.6"},"homepage":"http://github.com/webpack/enhanced-require","scripts":{"test":"node node_modules/mocha/bin/_mocha --reporter spec"},"license":"MIT","readme":"# enhanced-require\r\n\r\nMore features for node.js require.\r\n\r\n* [loader support](https://github.com/sokra/modules-webpack/wiki/Loader-Specification)\r\n* `require.ensure`\r\n* AMD `require`, `define` (from require.js)\r\n* `require.context`\r\n* [Hot Code Replacement](https://github.com/webpack/enhanced-require/wiki/HCR-Spec)\r\n* module substitutions for mocking\r\n\r\nAsynchron require functions are **really** async. They do not use the sync node.js require, but use a async resolving and async readFile.\r\n\r\n## Create a enhanced require function\r\n\r\n``` javascript\r\nvar myRequire = require(\"enhanced-require\")(module, {\r\n\t// options\r\n\trecursive: true // enable for all modules recursivly\r\n\t// This replaces the original require function in loaded modules\r\n});\r\n\r\n// startup your application\r\nmyRequire(\"./startup\");\r\n```\r\n\r\n## Usage\r\n\r\nThan you can use them:\r\n\r\n``` javascript\r\n// use loaders\r\nvar fileContent = require(\"raw!\"+__filename);\r\n\r\n// use loaders automatically\r\nvar template = require(\"./my-template.jade\");\r\n\r\nvar html = template({content: fileContent});\r\n\r\n// use require.context\r\nvar directoryRequire = require.context(\"raw!./subdir\");\r\nvar txtFile = directoryRequire(\"./aFile.txt\");\r\n\r\n// use require.ensure\r\nrequire.ensure([\"./someFile.js\"], function(require) {\r\n\tvar someFile = require(\"./someFile.js\");\r\n});\r\n\r\n// use AMD define\r\nrequire.define([\"./aDep\"], function(aDep) {\r\n\taDep.run();\r\n});\r\n\r\n// use AMD require\r\nrequire([\"./bDep\"], function(bDep) {\r\n\tbDep.doSomething();\r\n});\r\n```\r\n\r\n## Hot Code Replacement\r\n\r\n``` javascript\r\nrequire(\"enhanced-require\")(module, {\r\n\trecursive: true, // enable for all modules\r\n\thot: true, // enable hot code replacement\r\n\twatch: true // watch for changes\r\n})(\"./startup\");\r\n```\r\n\r\nFor hot code reloading you need to follow the [hot code reloading spec](https://github.com/webpack/enhanced-require/wiki/HCR-Spec).\r\n\r\n## Testing/Mocking\r\n\r\n``` javascript\r\nvar er = require(\"enhanced-require\");\r\nit(\"should read the config option\", function(done) {\r\n\tvar subject = er(module, {\r\n\t\trecursive: true,\r\n\t\tsubstitutions: {\r\n\t\t\t// specify the exports of a module directly\r\n\t\t\t\"../lib/config.json\": {\r\n\t\t\t\t\"test-option\": { value: 1234 }\r\n\t\t\t}\r\n\t\t},\r\n\t\tsubstitutionFactories: {\r\n\t\t\t// specify lazy generated exports of a module\r\n\t\t\t\"../lib/otherConfig.json\": function(require) {\r\n\t\t\t\t// export the same object as \"config.json\"\r\n\t\t\t\treturn require(\"../lib/config.json\");\r\n\t\t\t}\r\n\t\t}\r\n\t})(\"../lib/subject\");\r\n\r\n\tvar result = subject.getConfigOption(\"test-option\");\r\n\tshould.exist(result);\r\n\tresult.should.be.eql({ value: 1234 });\r\n});\r\n```\r\n\r\n## Options\r\n\r\n``` javascript\r\n{\r\n\trecursive: false,\r\n\t// replace require function in required modules with enhanced require method\r\n\r\n\tresolve: {\r\n\t\t// ...\r\n\t\t// see enhanced-resolve\r\n\t\t// https://github.com/webpack/enhanced-resolve\r\n\t},\r\n\t\r\n\tsubstitutions: {},\r\n\tsubstitutionFactories: {},\r\n\t// See above\r\n\t// Replace modules with mocks\r\n\t// keys are resolved and have to exist\r\n\r\n\tamd: {},\r\n\t// The require.amd object\r\n\r\n\tenhanced: {},\r\n\t// The require.enhanced object\r\n\r\n\tloader: {},\r\n\t// additional stuff in the loaderContext\r\n\r\n\thot: false,\r\n\t// enable hot code replacement\r\n\r\n\twatch: false,\r\n\t// Watch for file changes and issue hot replacement\r\n\r\n\twatchDelay: 400,\r\n\t// Time to summarize changes for watching\r\n}\r\n```\r\n\r\n## Future Plans\r\n\r\n* cli tool\r\n\r\n## License\r\n\r\nCopyright (c) 2012 Tobias Koppers\r\n\r\nMIT (http://www.opensource.org/licenses/mit-license.php)","_id":"enhanced-require@0.4.0-beta15","dist":{"shasum":"35210c20076e730cb01e2407d20435f6a0648d0e","tarball":"https://registry.npmjs.org/enhanced-require/-/enhanced-require-0.4.0-beta15.tgz","integrity":"sha512-8AJAOMAPK3bTCnzaTaWPIn6bk/RSaPBA++OBFydye6IsR6D+2/zjGw2rQh9D676mCVNPfH0ABtvPqK2LJYOlYw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICWpp0BWzIwkNxDOnmLmsbCBbBAHtpuEV1hO5JkOESUfAiB/qtwzyVmydM0ebUWKIicXZD84N2HrpGFZST7XL7Letg=="}]},"_npmVersion":"1.1.59","_npmUser":{"name":"sokra","email":"tobias.koppers@googlemail.com"},"maintainers":[{"name":"sokra","email":"tobias.koppers@googlemail.com"}]},"0.4.0-beta16":{"name":"enhanced-require","version":"0.4.0-beta16","author":{"name":"Tobias Koppers @sokra"},"description":"Enhance the require function in node.js with support for loaders which preprocess files and really async require (AMD). Enables Hot Code Replacement.","dependencies":{"enhanced-resolve":"0.4.x","clone":"0.0.x","buffer-equal":"0.0.x"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"devDependencies":{"mocha":"*","should":"*","raw-loader":"0.2.x","jade-loader":"0.2.x"},"main":"lib/require","bin":{"enhanced-require":"bin/enhanced-require-hot-watch.js"},"engines":{"node":">=0.6"},"homepage":"http://github.com/webpack/enhanced-require","scripts":{"test":"node node_modules/mocha/bin/_mocha --reporter spec"},"license":"MIT","readme":"# enhanced-require\r\n\r\nMore features for node.js require.\r\n\r\n* [loader support](https://github.com/sokra/modules-webpack/wiki/Loader-Specification)\r\n* `require.ensure`\r\n* AMD `require`, `define` (from require.js)\r\n* `require.context`\r\n* [Hot Code Replacement](https://github.com/webpack/enhanced-require/wiki/HCR-Spec)\r\n* module substitutions for mocking\r\n\r\nAsynchron require functions are **really** async. They do not use the sync node.js require, but use a async resolving and async readFile.\r\n\r\n## Create a enhanced require function\r\n\r\n``` javascript\r\nvar myRequire = require(\"enhanced-require\")(module, {\r\n\t// options\r\n\trecursive: true // enable for all modules recursivly\r\n\t// This replaces the original require function in loaded modules\r\n});\r\n\r\n// startup your application\r\nmyRequire(\"./startup\");\r\n```\r\n\r\n## Usage\r\n\r\nThan you can use them:\r\n\r\n``` javascript\r\n// use loaders\r\nvar fileContent = require(\"raw!\"+__filename);\r\n\r\n// use loaders automatically\r\nvar template = require(\"./my-template.jade\");\r\n\r\nvar html = template({content: fileContent});\r\n\r\n// use require.context\r\nvar directoryRequire = require.context(\"raw!./subdir\");\r\nvar txtFile = directoryRequire(\"./aFile.txt\");\r\n\r\n// use require.ensure\r\nrequire.ensure([\"./someFile.js\"], function(require) {\r\n\tvar someFile = require(\"./someFile.js\");\r\n});\r\n\r\n// use AMD define\r\nrequire.define([\"./aDep\"], function(aDep) {\r\n\taDep.run();\r\n});\r\n\r\n// use AMD require\r\nrequire([\"./bDep\"], function(bDep) {\r\n\tbDep.doSomething();\r\n});\r\n```\r\n\r\n## Hot Code Replacement\r\n\r\n``` javascript\r\nrequire(\"enhanced-require\")(module, {\r\n\trecursive: true, // enable for all modules\r\n\thot: true, // enable hot code replacement\r\n\twatch: true // watch for changes\r\n})(\"./startup\");\r\n```\r\n\r\nFor hot code reloading you need to follow the [hot code reloading spec](https://github.com/webpack/enhanced-require/wiki/HCR-Spec).\r\n\r\n## Testing/Mocking\r\n\r\n``` javascript\r\nvar er = require(\"enhanced-require\");\r\nit(\"should read the config option\", function(done) {\r\n\tvar subject = er(module, {\r\n\t\trecursive: true,\r\n\t\tsubstitutions: {\r\n\t\t\t// specify the exports of a module directly\r\n\t\t\t\"../lib/config.json\": {\r\n\t\t\t\t\"test-option\": { value: 1234 }\r\n\t\t\t}\r\n\t\t},\r\n\t\tsubstitutionFactories: {\r\n\t\t\t// specify lazy generated exports of a module\r\n\t\t\t\"../lib/otherConfig.json\": function(require) {\r\n\t\t\t\t// export the same object as \"config.json\"\r\n\t\t\t\treturn require(\"../lib/config.json\");\r\n\t\t\t}\r\n\t\t}\r\n\t})(\"../lib/subject\");\r\n\r\n\tvar result = subject.getConfigOption(\"test-option\");\r\n\tshould.exist(result);\r\n\tresult.should.be.eql({ value: 1234 });\r\n});\r\n```\r\n\r\n## Options\r\n\r\n``` javascript\r\n{\r\n\trecursive: false,\r\n\t// replace require function in required modules with enhanced require method\r\n\r\n\tresolve: {\r\n\t\t// ...\r\n\t\t// see enhanced-resolve\r\n\t\t// https://github.com/webpack/enhanced-resolve\r\n\t},\r\n\t\r\n\tsubstitutions: {},\r\n\tsubstitutionFactories: {},\r\n\t// See above\r\n\t// Replace modules with mocks\r\n\t// keys are resolved and have to exist\r\n\r\n\tamd: {},\r\n\t// The require.amd object\r\n\r\n\tenhanced: {},\r\n\t// The require.enhanced object\r\n\r\n\tloader: {},\r\n\t// additional stuff in the loaderContext\r\n\r\n\thot: false,\r\n\t// enable hot code replacement\r\n\r\n\twatch: false,\r\n\t// Watch for file changes and issue hot replacement\r\n\r\n\twatchDelay: 400,\r\n\t// Time to summarize changes for watching\r\n}\r\n```\r\n\r\n## Future Plans\r\n\r\n* cli tool\r\n\r\n## License\r\n\r\nCopyright (c) 2012 Tobias Koppers\r\n\r\nMIT (http://www.opensource.org/licenses/mit-license.php)","_id":"enhanced-require@0.4.0-beta16","dist":{"shasum":"cafdb429ce6a97d91db2c6223de9d1969d130804","tarball":"https://registry.npmjs.org/enhanced-require/-/enhanced-require-0.4.0-beta16.tgz","integrity":"sha512-PsYEOyuXCit9/G7/adt5I/k6X/5EQ51dQ7OFcb5F7VwnmHh5PYeFIbXbZ6EFbXhQfq/bYxcfM7FfCaeYNvJRYQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEXvFC6SWJNMun6gdPgOjnlKAXUJb0uva3bwhnsOs63tAiAZoVtpuKJJ+LrGQ7okRuu8kFVFH3h017JEkhaXGGLmWw=="}]},"_npmVersion":"1.1.59","_npmUser":{"name":"sokra","email":"tobias.koppers@googlemail.com"},"maintainers":[{"name":"sokra","email":"tobias.koppers@googlemail.com"}]},"0.4.0-beta17":{"name":"enhanced-require","version":"0.4.0-beta17","author":{"name":"Tobias Koppers @sokra"},"description":"Enhance the require function in node.js with support for loaders which preprocess files and really async require (AMD). Enables Hot Code Replacement.","dependencies":{"enhanced-resolve":"0.4.x","clone":"0.0.x","buffer-equal":"0.0.x"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"devDependencies":{"mocha":"*","should":"*","raw-loader":"0.2.x","jade-loader":"0.2.x"},"main":"lib/require","bin":{"enhanced-require":"bin/enhanced-require.js"},"engines":{"node":">=0.6"},"homepage":"http://github.com/webpack/enhanced-require","scripts":{"test":"node node_modules/mocha/bin/_mocha --reporter spec"},"license":"MIT","readme":"# enhanced-require\r\n\r\nMore features for node.js require.\r\n\r\n* [loader support](https://github.com/sokra/modules-webpack/wiki/Loader-Specification)\r\n* `require.ensure`\r\n* AMD `require`, `define` (from require.js)\r\n* `require.context`\r\n* [Hot Code Replacement](https://github.com/webpack/enhanced-require/wiki/HCR-Spec)\r\n* module substitutions for mocking\r\n\r\nAsynchron require functions are **really** async. They do not use the sync node.js require, but use a async resolving and async readFile.\r\n\r\n## Create a enhanced require function\r\n\r\n``` javascript\r\nvar myRequire = require(\"enhanced-require\")(module, {\r\n\t// options\r\n\trecursive: true // enable for all modules recursivly\r\n\t// This replaces the original require function in loaded modules\r\n});\r\n\r\n// startup your application\r\nmyRequire(\"./startup\");\r\n```\r\n\r\n## Usage\r\n\r\nThan you can use them:\r\n\r\n``` javascript\r\n// use loaders\r\nvar fileContent = require(\"raw!\"+__filename);\r\n\r\n// use loaders automatically\r\nvar template = require(\"./my-template.jade\");\r\n\r\nvar html = template({content: fileContent});\r\n\r\n// use require.context\r\nvar directoryRequire = require.context(\"raw!./subdir\");\r\nvar txtFile = directoryRequire(\"./aFile.txt\");\r\n\r\n// use require.ensure\r\nrequire.ensure([\"./someFile.js\"], function(require) {\r\n\tvar someFile = require(\"./someFile.js\");\r\n});\r\n\r\n// use AMD define\r\nrequire.define([\"./aDep\"], function(aDep) {\r\n\taDep.run();\r\n});\r\n\r\n// use AMD require\r\nrequire([\"./bDep\"], function(bDep) {\r\n\tbDep.doSomething();\r\n});\r\n```\r\n\r\n## Hot Code Replacement\r\n\r\n``` javascript\r\nrequire(\"enhanced-require\")(module, {\r\n\trecursive: true, // enable for all modules\r\n\thot: true, // enable hot code replacement\r\n\twatch: true // watch for changes\r\n})(\"./startup\");\r\n```\r\n\r\nFor hot code reloading you need to follow the [hot code reloading spec](https://github.com/webpack/enhanced-require/wiki/HCR-Spec).\r\n\r\n## Testing/Mocking\r\n\r\n``` javascript\r\nvar er = require(\"enhanced-require\");\r\nit(\"should read the config option\", function(done) {\r\n\tvar subject = er(module, {\r\n\t\trecursive: true,\r\n\t\tsubstitutions: {\r\n\t\t\t// specify the exports of a module directly\r\n\t\t\t\"../lib/config.json\": {\r\n\t\t\t\t\"test-option\": { value: 1234 }\r\n\t\t\t}\r\n\t\t},\r\n\t\tsubstitutionFactories: {\r\n\t\t\t// specify lazy generated exports of a module\r\n\t\t\t\"../lib/otherConfig.json\": function(require) {\r\n\t\t\t\t// export the same object as \"config.json\"\r\n\t\t\t\treturn require(\"../lib/config.json\");\r\n\t\t\t}\r\n\t\t}\r\n\t})(\"../lib/subject\");\r\n\r\n\tvar result = subject.getConfigOption(\"test-option\");\r\n\tshould.exist(result);\r\n\tresult.should.be.eql({ value: 1234 });\r\n});\r\n```\r\n\r\n## Options\r\n\r\n``` javascript\r\n{\r\n\trecursive: false,\r\n\t// replace require function in required modules with enhanced require method\r\n\r\n\tresolve: {\r\n\t\t// ...\r\n\t\t// see enhanced-resolve\r\n\t\t// https://github.com/webpack/enhanced-resolve\r\n\t},\r\n\t\r\n\tsubstitutions: {},\r\n\tsubstitutionFactories: {},\r\n\t// See above\r\n\t// Replace modules with mocks\r\n\t// keys are resolved and have to exist\r\n\r\n\tamd: {},\r\n\t// The require.amd object\r\n\r\n\tenhanced: {},\r\n\t// The require.enhanced object\r\n\r\n\tloader: {},\r\n\t// additional stuff in the loaderContext\r\n\r\n\thot: false,\r\n\t// enable hot code replacement\r\n\r\n\twatch: false,\r\n\t// Watch for file changes and issue hot replacement\r\n\r\n\twatchDelay: 400,\r\n\t// Time to summarize changes for watching\r\n}\r\n```\r\n\r\n## Future Plans\r\n\r\n* cli tool\r\n\r\n## License\r\n\r\nCopyright (c) 2012 Tobias Koppers\r\n\r\nMIT (http://www.opensource.org/licenses/mit-license.php)","_id":"enhanced-require@0.4.0-beta17","dist":{"shasum":"c73578b05520546a917cc2da7c3a65a8bcd41820","tarball":"https://registry.npmjs.org/enhanced-require/-/enhanced-require-0.4.0-beta17.tgz","integrity":"sha512-w0nEm4kYU7orVPgO0y6YWwdIt6q8fa9Af04MFo9V0c9eNxp74nLNycjbuLe1lXOFhNOTzS4Xc5Scj++n5FUNVQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBgLnVa9213Kjm2gT7KzPbtbt76wAG9GTO14zfbbq7jcAiEA4OVxspXov2e3mBkIJiQdYpYm0UJE0HPSiCbjKYgbF0c="}]},"_npmVersion":"1.1.59","_npmUser":{"name":"sokra","email":"tobias.koppers@googlemail.com"},"maintainers":[{"name":"sokra","email":"tobias.koppers@googlemail.com"}]},"0.4.0-beta18":{"name":"enhanced-require","version":"0.4.0-beta18","author":{"name":"Tobias Koppers @sokra"},"description":"Enhance the require function in node.js with support for loaders which preprocess files and really async require (AMD). Enables Hot Code Replacement.","dependencies":{"enhanced-resolve":"0.4.x","clone":"0.0.x","buffer-equal":"0.0.x"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"devDependencies":{"mocha":"*","should":"*","raw-loader":"0.2.x","jade-loader":"0.2.x"},"main":"lib/require","bin":{"enhanced-require":"bin/enhanced-require.js"},"engines":{"node":">=0.6"},"homepage":"http://github.com/webpack/enhanced-require","scripts":{"test":"node node_modules/mocha/bin/_mocha --reporter spec"},"license":"MIT","readme":"# enhanced-require\r\n\r\nMore features for node.js require.\r\n\r\n* [loader support](https://github.com/sokra/modules-webpack/wiki/Loader-Specification)\r\n* `require.ensure`\r\n* AMD `require`, `define` (from require.js)\r\n* `require.context`\r\n* [Hot Code Replacement](https://github.com/webpack/enhanced-require/wiki/HCR-Spec)\r\n* module substitutions for mocking\r\n\r\nAsynchron require functions are **really** async. They do not use the sync node.js require, but use a async resolving and async readFile.\r\n\r\n## Create a enhanced require function\r\n\r\n``` javascript\r\nvar myRequire = require(\"enhanced-require\")(module, {\r\n\t// options\r\n\trecursive: true // enable for all modules recursivly\r\n\t// This replaces the original require function in loaded modules\r\n});\r\n\r\n// startup your application\r\nmyRequire(\"./startup\");\r\n```\r\n\r\n## Usage\r\n\r\nThan you can use them:\r\n\r\n``` javascript\r\n// use loaders\r\nvar fileContent = require(\"raw!\"+__filename);\r\n\r\n// use loaders automatically\r\nvar template = require(\"./my-template.jade\");\r\n\r\nvar html = template({content: fileContent});\r\n\r\n// use require.context\r\nvar directoryRequire = require.context(\"raw!./subdir\");\r\nvar txtFile = directoryRequire(\"./aFile.txt\");\r\n\r\n// use require.ensure\r\nrequire.ensure([\"./someFile.js\"], function(require) {\r\n\tvar someFile = require(\"./someFile.js\");\r\n});\r\n\r\n// use AMD define\r\nrequire.define([\"./aDep\"], function(aDep) {\r\n\taDep.run();\r\n});\r\n\r\n// use AMD require\r\nrequire([\"./bDep\"], function(bDep) {\r\n\tbDep.doSomething();\r\n});\r\n```\r\n\r\n## Hot Code Replacement\r\n\r\n``` javascript\r\nrequire(\"enhanced-require\")(module, {\r\n\trecursive: true, // enable for all modules\r\n\thot: true, // enable hot code replacement\r\n\twatch: true // watch for changes\r\n})(\"./startup\");\r\n```\r\n\r\nFor hot code reloading you need to follow the [hot code reloading spec](https://github.com/webpack/enhanced-require/wiki/HCR-Spec).\r\n\r\n## Testing/Mocking\r\n\r\n``` javascript\r\nvar er = require(\"enhanced-require\");\r\nit(\"should read the config option\", function(done) {\r\n\tvar subject = er(module, {\r\n\t\trecursive: true,\r\n\t\tsubstitutions: {\r\n\t\t\t// specify the exports of a module directly\r\n\t\t\t\"../lib/config.json\": {\r\n\t\t\t\t\"test-option\": { value: 1234 }\r\n\t\t\t}\r\n\t\t},\r\n\t\tsubstitutionFactories: {\r\n\t\t\t// specify lazy generated exports of a module\r\n\t\t\t\"../lib/otherConfig.json\": function(require) {\r\n\t\t\t\t// export the same object as \"config.json\"\r\n\t\t\t\treturn require(\"../lib/config.json\");\r\n\t\t\t}\r\n\t\t}\r\n\t})(\"../lib/subject\");\r\n\r\n\tvar result = subject.getConfigOption(\"test-option\");\r\n\tshould.exist(result);\r\n\tresult.should.be.eql({ value: 1234 });\r\n});\r\n```\r\n\r\n## Options\r\n\r\n``` javascript\r\n{\r\n\trecursive: false,\r\n\t// replace require function in required modules with enhanced require method\r\n\r\n\tresolve: {\r\n\t\t// ...\r\n\t\t// see enhanced-resolve\r\n\t\t// https://github.com/webpack/enhanced-resolve\r\n\t},\r\n\t\r\n\tsubstitutions: {},\r\n\tsubstitutionFactories: {},\r\n\t// See above\r\n\t// Replace modules with mocks\r\n\t// keys are resolved and have to exist\r\n\r\n\tamd: {},\r\n\t// The require.amd object\r\n\r\n\tenhanced: {},\r\n\t// The require.enhanced object\r\n\r\n\tloader: {},\r\n\t// additional stuff in the loaderContext\r\n\r\n\thot: false,\r\n\t// enable hot code replacement\r\n\r\n\twatch: false,\r\n\t// Watch for file changes and issue hot replacement\r\n\r\n\twatchDelay: 400,\r\n\t// Time to summarize changes for watching\r\n}\r\n```\r\n\r\n## Future Plans\r\n\r\n* cli tool\r\n\r\n## License\r\n\r\nCopyright (c) 2012 Tobias Koppers\r\n\r\nMIT (http://www.opensource.org/licenses/mit-license.php)","_id":"enhanced-require@0.4.0-beta18","dist":{"shasum":"56eb947a0f6c5268f9b34df3b89c707e4bb1a56d","tarball":"https://registry.npmjs.org/enhanced-require/-/enhanced-require-0.4.0-beta18.tgz","integrity":"sha512-7hfVRPigfOuLiQAc9vowEsubfwXbWURWCYzeyf+8l4iucYBv75iOlLv47sux4K+vVNcG2iVcFMhsys4+QJjZaQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDeTeolQ3jrw82toI7rf9dqRLF9pVP6rk1nD3Pfz6Dw3wIhALlPYz1K2aAjBkoxV3C7Bpb6l3+Fv8aE+tote6A288D1"}]},"_npmVersion":"1.1.59","_npmUser":{"name":"sokra","email":"tobias.koppers@googlemail.com"},"maintainers":[{"name":"sokra","email":"tobias.koppers@googlemail.com"}]},"0.4.0":{"name":"enhanced-require","version":"0.4.0","author":{"name":"Tobias Koppers @sokra"},"description":"Enhance the require function in node.js with support for loaders which preprocess files and really async require (AMD). Enables Hot Code Replacement.","dependencies":{"enhanced-resolve":"0.4.x","clone":"0.0.x","buffer-equal":"0.0.x"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"devDependencies":{"mocha":"1.3.x","should":"1.1.x","raw-loader":"0.2.x","jade-loader":"0.2.x"},"main":"lib/require","bin":{"enhanced-require":"bin/enhanced-require.js","enhanced-require-hot-watch":"bin/hot-watch.js"},"engines":{"node":">=0.6"},"homepage":"http://github.com/webpack/enhanced-require","scripts":{"test":"node node_modules/mocha/bin/_mocha --reporter spec"},"license":"MIT","readme":"# enhanced-require\r\n\r\nMore features for node.js require.\r\n\r\n* [loader support](https://github.com/sokra/modules-webpack/wiki/Loader-Specification)\r\n* `require.ensure`\r\n* AMD `require`, `define` (from require.js)\r\n* `require.context`\r\n* [Hot Code Replacement](https://github.com/webpack/enhanced-require/wiki/HCR-Spec)\r\n* module substitutions for mocking\r\n\r\nAsynchron require functions are **really** async. They do not use the sync node.js require, but use a async resolving and async readFile.\r\n\r\n## Create a enhanced require function\r\n\r\n``` javascript\r\nvar myRequire = require(\"enhanced-require\")(module, {\r\n\t// options\r\n\trecursive: true // enable for all modules recursivly\r\n\t// This replaces the original require function in loaded modules\r\n});\r\n\r\n// startup your application\r\nmyRequire(\"./startup\");\r\n```\r\n\r\n## Usage\r\n\r\nThan you can use them:\r\n\r\n``` javascript\r\n// use loaders\r\nvar fileContent = require(\"raw!\"+__filename);\r\n\r\n// use loaders automatically\r\nvar template = require(\"./my-template.jade\");\r\n\r\nvar html = template({content: fileContent});\r\n\r\n// use require.context\r\nvar directoryRequire = require.context(\"raw!./subdir\");\r\nvar txtFile = directoryRequire(\"./aFile.txt\");\r\n\r\n// use require.ensure\r\nrequire.ensure([\"./someFile.js\"], function(require) {\r\n\tvar someFile = require(\"./someFile.js\");\r\n});\r\n\r\n// use AMD define\r\nrequire.define([\"./aDep\"], function(aDep) {\r\n\taDep.run();\r\n});\r\n\r\n// use AMD require\r\nrequire([\"./bDep\"], function(bDep) {\r\n\tbDep.doSomething();\r\n});\r\n```\r\n\r\n## Hot Code Replacement\r\n\r\n``` javascript\r\nrequire(\"enhanced-require\")(module, {\r\n\trecursive: true, // enable for all modules\r\n\thot: true, // enable hot code replacement\r\n\twatch: true // watch for changes\r\n})(\"./startup\");\r\n```\r\n\r\nFor hot code reloading you need to follow the [hot code reloading spec](https://github.com/webpack/enhanced-require/wiki/HCR-Spec).\r\n\r\n## Testing/Mocking\r\n\r\n``` javascript\r\nvar er = require(\"enhanced-require\");\r\nit(\"should read the config option\", function(done) {\r\n\tvar subject = er(module, {\r\n\t\trecursive: true,\r\n\t\tsubstitutions: {\r\n\t\t\t// specify the exports of a module directly\r\n\t\t\t\"../lib/config.json\": {\r\n\t\t\t\t\"test-option\": { value: 1234 }\r\n\t\t\t}\r\n\t\t},\r\n\t\tsubstitutionFactories: {\r\n\t\t\t// specify lazy generated exports of a module\r\n\t\t\t\"../lib/otherConfig.json\": function(require) {\r\n\t\t\t\t// export the same object as \"config.json\"\r\n\t\t\t\treturn require(\"../lib/config.json\");\r\n\t\t\t}\r\n\t\t}\r\n\t})(\"../lib/subject\");\r\n\r\n\tvar result = subject.getConfigOption(\"test-option\");\r\n\tshould.exist(result);\r\n\tresult.should.be.eql({ value: 1234 });\r\n});\r\n```\r\n\r\n## Options\r\n\r\n``` javascript\r\n{\r\n\trecursive: false,\r\n\t// replace require function in required modules with enhanced require method\r\n\r\n\tresolve: {\r\n\t\t// ...\r\n\t\t// see enhanced-resolve\r\n\t\t// https://github.com/webpack/enhanced-resolve\r\n\t},\r\n\t\r\n\tsubstitutions: {},\r\n\tsubstitutionFactories: {},\r\n\t// See above\r\n\t// Replace modules with mocks\r\n\t// keys are resolved and have to exist\r\n\r\n\tamd: {},\r\n\t// The require.amd object\r\n\r\n\tenhanced: {},\r\n\t// The require.enhanced object\r\n\r\n\tloader: {},\r\n\t// additional stuff in the loaderContext\r\n\r\n\thot: false,\r\n\t// enable hot code replacement\r\n\r\n\twatch: false,\r\n\t// Watch for file changes and issue hot replacement\r\n\r\n\twatchDelay: 400,\r\n\t// Time to summarize changes for watching\r\n}\r\n```\r\n\r\n## Future Plans\r\n\r\n* cli tool\r\n\r\n## License\r\n\r\nCopyright (c) 2012 Tobias Koppers\r\n\r\nMIT (http://www.opensource.org/licenses/mit-license.php)","_id":"enhanced-require@0.4.0","dist":{"shasum":"f4477b59a500e0073f4eb4819beb49b0a27187ca","tarball":"https://registry.npmjs.org/enhanced-require/-/enhanced-require-0.4.0.tgz","integrity":"sha512-PHGAGOquqapcBukX1VdpPODLLieeXNHULwcNRYOq2HiHs/4ySwJBGOEHT21Frtn0vFBswrcE3WSn+EN9IbaaNg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCApQFqCPsJkDSN+RJRZjrKviVui675M0L1pTU8LSq1dwIhAM58DBhvUtgeAInfTkGySxqhQdapJhfxtmIIesTDaf2y"}]},"_npmVersion":"1.1.59","_npmUser":{"name":"sokra","email":"tobias.koppers@googlemail.com"},"maintainers":[{"name":"sokra","email":"tobias.koppers@googlemail.com"}]},"0.4.1":{"name":"enhanced-require","version":"0.4.1","author":{"name":"Tobias Koppers @sokra"},"description":"Enhance the require function in node.js with support for loaders which preprocess files and really async require (AMD). Enables Hot Code Replacement.","dependencies":{"enhanced-resolve":"0.4.x","clone":"0.0.x","buffer-equal":"0.0.x"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"devDependencies":{"mocha":"1.3.x","should":"1.1.x","raw-loader":"0.2.x","jade-loader":"0.2.x"},"main":"lib/require","bin":{"enhanced-require":"bin/enhanced-require.js","enhanced-require-hot-watch":"bin/hot-watch.js"},"engines":{"node":">=0.6"},"homepage":"http://github.com/webpack/enhanced-require","scripts":{"test":"node node_modules/mocha/bin/_mocha --reporter spec"},"license":"MIT","readme":"# enhanced-require\n\nMore features for node.js require.\n\n* [loader support](https://github.com/sokra/modules-webpack/wiki/Loader-Specification)\n* `require.ensure`\n* AMD `require`, `define` (from require.js)\n* `require.context`\n* [Hot Code Replacement](https://github.com/webpack/enhanced-require/wiki/HCR-Spec)\n* module substitutions for mocking\n\nAsynchron require functions are **really** async. They do not use the sync node.js require, but use a async resolving and async readFile.\n\n## Create a enhanced require function\n\n``` javascript\nvar myRequire = require(\"enhanced-require\")(module, {\n\t// options\n\trecursive: true // enable for all modules recursivly\n\t// This replaces the original require function in loaded modules\n});\n\n// startup your application\nmyRequire(\"./startup\");\n```\n\n## Usage\n\nThan you can use them:\n\n``` javascript\n// use loaders\nvar fileContent = require(\"raw!\"+__filename);\n\n// use loaders automatically\nvar template = require(\"./my-template.jade\");\n\nvar html = template({content: fileContent});\n\n// use require.context\nvar directoryRequire = require.context(\"raw!./subdir\");\nvar txtFile = directoryRequire(\"./aFile.txt\");\n\n// use require.ensure\nrequire.ensure([\"./someFile.js\"], function(require) {\n\tvar someFile = require(\"./someFile.js\");\n});\n\n// use AMD define\nrequire.define([\"./aDep\"], function(aDep) {\n\taDep.run();\n});\n\n// use AMD require\nrequire([\"./bDep\"], function(bDep) {\n\tbDep.doSomething();\n});\n```\n\n## Hot Code Replacement\n\n``` javascript\nrequire(\"enhanced-require\")(module, {\n\trecursive: true, // enable for all modules\n\thot: true, // enable hot code replacement\n\twatch: true // watch for changes\n})(\"./startup\");\n```\n\nFor hot code reloading you need to follow the [hot code reloading spec](https://github.com/webpack/enhanced-require/wiki/HCR-Spec).\n\n## Testing/Mocking\n\n``` javascript\nvar er = require(\"enhanced-require\");\nit(\"should read the config option\", function(done) {\n\tvar subject = er(module, {\n\t\trecursive: true,\n\t\tsubstitutions: {\n\t\t\t// specify the exports of a module directly\n\t\t\t\"../lib/config.json\": {\n\t\t\t\t\"test-option\": { value: 1234 }\n\t\t\t}\n\t\t},\n\t\tsubstitutionFactories: {\n\t\t\t// specify lazy generated exports of a module\n\t\t\t\"../lib/otherConfig.json\": function(require) {\n\t\t\t\t// export the same object as \"config.json\"\n\t\t\t\treturn require(\"../lib/config.json\");\n\t\t\t}\n\t\t}\n\t})(\"../lib/subject\");\n\n\tvar result = subject.getConfigOption(\"test-option\");\n\tshould.exist(result);\n\tresult.should.be.eql({ value: 1234 });\n});\n```\n\n## Options\n\n``` javascript\n{\n\trecursive: false,\n\t// replace require function in required modules with enhanced require method\n\n\tresolve: {\n\t\t// ...\n\t\t// see enhanced-resolve\n\t\t// https://github.com/webpack/enhanced-resolve\n\t},\n\t\n\tsubstitutions: {},\n\tsubstitutionFactories: {},\n\t// See above\n\t// Replace modules with mocks\n\t// keys are resolved and have to exist\n\n\tamd: {},\n\t// The require.amd object\n\n\tenhanced: {},\n\t// The require.enhanced object\n\n\tloader: {},\n\t// additional stuff in the loaderContext\n\n\thot: false,\n\t// enable hot code replacement\n\n\twatch: false,\n\t// Watch for file changes and issue hot replacement\n\n\twatchDelay: 400,\n\t// Time to summarize changes for watching\n}\n```\n\n## Future Plans\n\n* cli tool\n\n## License\n\nCopyright (c) 2012 Tobias Koppers\n\nMIT (http://www.opensource.org/licenses/mit-license.php)","_id":"enhanced-require@0.4.1","dist":{"shasum":"e03908d3db685cca34742c5500b672857bcb8082","tarball":"https://registry.npmjs.org/enhanced-require/-/enhanced-require-0.4.1.tgz","integrity":"sha512-xxZNH2sXdKf1ytzjs8v0tbIfEW1VGtSRoge4yi3tS4ESeWNBtSs/IWFVWWz4o6DJqDDzWfoebUfvUq1AdXKoPA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAuNjk447QqM3E0+y29nhmkFU7eSlLyy75YmqsU9Fay1AiBBVwZF/jxWaYfgATH4Fjt/wj40YOgUgFdEvnbyTIoSow=="}]},"_npmVersion":"1.1.62","_npmUser":{"name":"sokra","email":"tobias.koppers@googlemail.com"},"maintainers":[{"name":"sokra","email":"tobias.koppers@googlemail.com"}]},"0.4.2":{"name":"enhanced-require","version":"0.4.2","author":{"name":"Tobias Koppers @sokra"},"description":"Enhance the require function in node.js with support for loaders which preprocess files and really async require (AMD). Enables Hot Code Replacement.","dependencies":{"enhanced-resolve":"0.4.x","clone":"0.0.x","buffer-equal":"0.0.x"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"devDependencies":{"mocha":"1.3.x","should":"1.1.x","raw-loader":"0.2.x","jade-loader":"0.2.x"},"main":"lib/require","bin":{"enhanced-require":"bin/enhanced-require.js","enhanced-require-hot-watch":"bin/hot-watch.js"},"engines":{"node":">=0.6"},"homepage":"http://github.com/webpack/enhanced-require","scripts":{"test":"node node_modules/mocha/bin/_mocha --reporter spec"},"license":"MIT","readme":"# enhanced-require\n\nMore features for node.js require.\n\n* [loader support](https://github.com/sokra/modules-webpack/wiki/Loader-Specification)\n* `require.ensure`\n* AMD `require`, `define` (from require.js)\n* `require.context`\n* [Hot Code Replacement](https://github.com/webpack/enhanced-require/wiki/HCR-Spec)\n* module substitutions for mocking\n\nAsynchron require functions are **really** async. They do not use the sync node.js require, but use a async resolving and async readFile.\n\n## Create a enhanced require function\n\n``` javascript\nvar myRequire = require(\"enhanced-require\")(module, {\n\t// options\n\trecursive: true // enable for all modules recursivly\n\t// This replaces the original require function in loaded modules\n});\n\n// startup your application\nmyRequire(\"./startup\");\n```\n\n## Usage\n\nThan you can use them:\n\n``` javascript\n// use loaders\nvar fileContent = require(\"raw!\"+__filename);\n\n// use loaders automatically\nvar template = require(\"./my-template.jade\");\n\nvar html = template({content: fileContent});\n\n// use require.context\nvar directoryRequire = require.context(\"raw!./subdir\");\nvar txtFile = directoryRequire(\"./aFile.txt\");\n\n// use require.ensure\nrequire.ensure([\"./someFile.js\"], function(require) {\n\tvar someFile = require(\"./someFile.js\");\n});\n\n// use AMD define\nrequire.define([\"./aDep\"], function(aDep) {\n\taDep.run();\n});\n\n// use AMD require\nrequire([\"./bDep\"], function(bDep) {\n\tbDep.doSomething();\n});\n```\n\n## Hot Code Replacement\n\n``` javascript\nrequire(\"enhanced-require\")(module, {\n\trecursive: true, // enable for all modules\n\thot: true, // enable hot code replacement\n\twatch: true // watch for changes\n})(\"./startup\");\n```\n\nFor hot code reloading you need to follow the [hot code reloading spec](https://github.com/webpack/enhanced-require/wiki/HCR-Spec).\n\n## Testing/Mocking\n\n``` javascript\nvar er = require(\"enhanced-require\");\nit(\"should read the config option\", function(done) {\n\tvar subject = er(module, {\n\t\trecursive: true,\n\t\tsubstitutions: {\n\t\t\t// specify the exports of a module directly\n\t\t\t\"../lib/config.json\": {\n\t\t\t\t\"test-option\": { value: 1234 }\n\t\t\t}\n\t\t},\n\t\tsubstitutionFactories: {\n\t\t\t// specify lazy generated exports of a module\n\t\t\t\"../lib/otherConfig.json\": function(require) {\n\t\t\t\t// export the same object as \"config.json\"\n\t\t\t\treturn require(\"../lib/config.json\");\n\t\t\t}\n\t\t}\n\t})(\"../lib/subject\");\n\n\tvar result = subject.getConfigOption(\"test-option\");\n\tshould.exist(result);\n\tresult.should.be.eql({ value: 1234 });\n});\n```\n\n## Options\n\n``` javascript\n{\n\trecursive: false,\n\t// replace require function in required modules with enhanced require method\n\n\tresolve: {\n\t\t// ...\n\t\t// see enhanced-resolve\n\t\t// https://github.com/webpack/enhanced-resolve\n\t},\n\t\n\tsubstitutions: {},\n\tsubstitutionFactories: {},\n\t// See above\n\t// Replace modules with mocks\n\t// keys are resolved and have to exist\n\n\tamd: {},\n\t// The require.amd object\n\n\tenhanced: {},\n\t// The require.enhanced object\n\n\tloader: {},\n\t// additional stuff in the loaderContext\n\n\thot: false,\n\t// enable hot code replacement\n\n\twatch: false,\n\t// Watch for file changes and issue hot replacement\n\n\twatchDelay: 400,\n\t// Time to summarize changes for watching\n}\n```\n\n## Future Plans\n\n* cli tool\n\n## License\n\nCopyright (c) 2012 Tobias Koppers\n\nMIT (http://www.opensource.org/licenses/mit-license.php)","readmeFilename":"README.md","_id":"enhanced-require@0.4.2","dist":{"shasum":"3656c110cd5d0bc0ddecec58c89bb4c0680af207","tarball":"https://registry.npmjs.org/enhanced-require/-/enhanced-require-0.4.2.tgz","integrity":"sha512-UH5r0DygJ4VzZg91C2mUuIhV0evi9YHKdH9u1wh1LfbX9wH3JB4vajjRHMJfZnJXlAzZFmB2+/eBwg5lGYavyw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEyTWtDSehruAoqnqBO7KDy36KCbIBgJGQb5tSNkyRKRAiAw3oFnk3rzJ7Go4p7AQpfiIH2+0VAxMTWME4FqnjVS5w=="}]},"_npmVersion":"1.1.65","_npmUser":{"name":"sokra","email":"tobias.koppers@googlemail.com"},"maintainers":[{"name":"sokra","email":"tobias.koppers@googlemail.com"}]},"0.5.0-beta1":{"name":"enhanced-require","version":"0.5.0-beta1","author":{"name":"Tobias Koppers @sokra"},"description":"Enhance the require function in node.js with support for loaders which preprocess files and really async require (AMD). Enables Hot Code Replacement.","dependencies":{"enhanced-resolve":"0.5.x","webpack-core":"0.1.x","async":"0.2.x","clone":"0.1.x","buffer-equal":"0.0.x"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"devDependencies":{"mocha":"1.8.x","should":"1.1.x","raw-loader":"0.5.x","jade-loader":"0.5.x"},"main":"lib/require","bin":{"enhanced-require":"bin/enhanced-require.js","enhanced-require-hot-watch":"bin/hot-watch.js"},"engines":{"node":">=0.6"},"homepage":"http://github.com/webpack/enhanced-require","scripts":{"test":"node node_modules/mocha/bin/_mocha --reporter spec"},"readme":"# enhanced-require\r\n\r\nMore features for node.js require.\r\n\r\n* [loader support](https://github.com/webpack/docs/wiki/loaders)\r\n* [`require.ensure`](https://github.com/webpack/docs/wiki/require.ensure)\r\n* [AMD](https://github.com/webpack/docs/wiki/amd) `require`, `define` (from require.js)\r\n* [`require.context`](https://github.com/webpack/docs/wiki/require.context)\r\n* [Hot Code Replacement](https://github.com/webpack/docs/wiki/hot-code-replacement)\r\n* module substitutions for mocking\r\n\r\nAsynchron require functions are **really** async. They do not use the sync node.js require, but use a async resolving and async readFile.\r\n\r\n[documentation](https://github.com/webpack/docs/wiki)\r\n\r\n## License\r\n\r\nCopyright (c) 2012 Tobias Koppers\r\n\r\nMIT (http://www.opensource.org/licenses/mit-license.php)","_id":"enhanced-require@0.5.0-beta1","dist":{"shasum":"9324a1e73a82b13289863797c933219693e4e927","tarball":"https://registry.npmjs.org/enhanced-require/-/enhanced-require-0.5.0-beta1.tgz","integrity":"sha512-itXANnrJ6HR3YZcUjsfOD467CQMCnCVoMK19kvxVE17fduwqC2qF6mEWVLdjVXR3nya4zD9SNFYsT9tuyJ/Whg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDn9jaZY0xXiP43GHQp3B0WK8mbIC84m6KMLNaUV8UWyAiEAtA3IjzAiIr6em/aZoWLg8Jk8Gd5vyp9mhTIHbLZ5zJA="}]},"_npmVersion":"1.1.59","_npmUser":{"name":"sokra","email":"tobias.koppers@googlemail.com"},"maintainers":[{"name":"sokra","email":"tobias.koppers@googlemail.com"}]},"0.5.0-beta2":{"name":"enhanced-require","version":"0.5.0-beta2","author":{"name":"Tobias Koppers @sokra"},"description":"Enhance the require function in node.js with support for loaders which preprocess files and really async require (AMD). Enables Hot Code Replacement.","dependencies":{"enhanced-resolve":"0.5.x","webpack-core":"0.1.x","async":"0.2.x","clone":"0.1.x","buffer-equal":"0.0.x"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"devDependencies":{"mocha":"1.8.x","should":"1.1.x","raw-loader":"0.5.x","jade-loader":"0.5.x"},"main":"lib/require","bin":{"enhanced-require":"bin/enhanced-require.js","enhanced-require-hot-watch":"bin/hot-watch.js"},"engines":{"node":">=0.6"},"homepage":"http://github.com/webpack/enhanced-require","scripts":{"test":"node node_modules/mocha/bin/_mocha --reporter spec"},"readme":"# enhanced-require\r\n\r\nMore features for node.js require.\r\n\r\n* [loader support](https://github.com/webpack/docs/wiki/loaders)\r\n* [`require.ensure`](https://github.com/webpack/docs/wiki/require.ensure)\r\n* [AMD](https://github.com/webpack/docs/wiki/amd) `require`, `define` (from require.js)\r\n* [`require.context`](https://github.com/webpack/docs/wiki/require.context)\r\n* [Hot Code Replacement](https://github.com/webpack/docs/wiki/hot-code-replacement)\r\n* module substitutions for mocking\r\n\r\nAsynchron require functions are **really** async. They do not use the sync node.js require, but use a async resolving and async readFile.\r\n\r\n[documentation](https://github.com/webpack/docs/wiki)\r\n\r\n## License\r\n\r\nCopyright (c) 2012 Tobias Koppers\r\n\r\nMIT (http://www.opensource.org/licenses/mit-license.php)","_id":"enhanced-require@0.5.0-beta2","dist":{"shasum":"f921dec0f465cab66d8eda1ecaa716147d5468dd","tarball":"https://registry.npmjs.org/enhanced-require/-/enhanced-require-0.5.0-beta2.tgz","integrity":"sha512-nQEYEBoKXYbuTX1cb5McIs1oRzEYUiZs5bk+/q67dZq86tRcCju4nvZc9ooDaBHtwoQ99TJSoABkNaWrEg4XqA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBy2ToKi6cvRX/tWnYZnM/ohjRcFM9E2dgcyzCHso7CzAiEA7dzB1DK5DtLp0M9tlyIHHvYUstDfNy7A2/5QFPRBmdU="}]},"_npmVersion":"1.1.59","_npmUser":{"name":"sokra","email":"tobias.koppers@googlemail.com"},"maintainers":[{"name":"sokra","email":"tobias.koppers@googlemail.com"}]},"0.5.0-beta3":{"name":"enhanced-require","version":"0.5.0-beta3","author":{"name":"Tobias Koppers @sokra"},"description":"Enhance the require function in node.js with support for loaders which preprocess files and really async require (AMD). Enables Hot Code Replacement.","dependencies":{"enhanced-resolve":"0.5.x","webpack-core":"0.1.x","async":"0.2.x","clone":"0.1.x","buffer-equal":"0.0.x"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"devDependencies":{"mocha":"1.8.x","should":"1.1.x","raw-loader":"0.5.x","jade-loader":"0.5.x"},"main":"lib/require","bin":{"enhanced-require":"bin/enhanced-require.js","enhanced-require-hot-watch":"bin/hot-watch.js"},"engines":{"node":">=0.6"},"homepage":"http://github.com/webpack/enhanced-require","scripts":{"test":"node node_modules/mocha/bin/_mocha --reporter spec"},"readme":"# enhanced-require\n\nMore features for node.js require.\n\n* [loader support](https://github.com/webpack/docs/wiki/loaders)\n* [`require.ensure`](https://github.com/webpack/docs/wiki/require.ensure)\n* [AMD](https://github.com/webpack/docs/wiki/amd) `require`, `define` (from require.js)\n* [`require.context`](https://github.com/webpack/docs/wiki/require.context)\n* [Hot Code Replacement](https://github.com/webpack/docs/wiki/hot-code-replacement)\n* module substitutions for mocking\n\nAsynchron require functions are **really** async. They do not use the sync node.js require, but use a async resolving and async readFile.\n\n[documentation](https://github.com/webpack/docs/wiki)\n\n## License\n\nCopyright (c) 2012 Tobias Koppers\n\nMIT (http://www.opensource.org/licenses/mit-license.php)","readmeFilename":"README.md","_id":"enhanced-require@0.5.0-beta3","dist":{"shasum":"8ab19057a66fddac6d435d3c2835f32c9c25f0c4","tarball":"https://registry.npmjs.org/enhanced-require/-/enhanced-require-0.5.0-beta3.tgz","integrity":"sha512-rbXOe36/mypkjlMQ7MVWP1o7f8hBMdSsyFoMI4y6g+FkwYQqX4rVlTVQwOVzJem6YQH4NmP9rd+InyXFL0nygQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCEjuKhyJUt+apnvcl6ZcVIzPHJwZhtL57P/LiJ8RRZmwIhAMObw7G+C43DJHxGRDvvqbCGXH/ZSok4l5IFnL5PX04z"}]},"_from":".","_npmVersion":"1.2.2","_npmUser":{"name":"sokra","email":"tobias.koppers@googlemail.com"},"maintainers":[{"name":"sokra","email":"tobias.koppers@googlemail.com"}]},"0.5.0-beta4":{"name":"enhanced-require","version":"0.5.0-beta4","author":{"name":"Tobias Koppers @sokra"},"description":"Enhance the require function in node.js with support for loaders which preprocess files and really async require (AMD). Enables Hot Code Replacement.","dependencies":{"enhanced-resolve":"0.5.x","webpack-core":"0.1.x","async":"0.2.x","clone":"0.1.x","buffer-equal":"0.0.x"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"devDependencies":{"mocha":"1.8.x","should":"1.1.x","raw-loader":"0.5.x","jade-loader":"0.5.x"},"main":"lib/require","bin":{"enhanced-require":"bin/enhanced-require.js","enhanced-require-hot-watch":"bin/hot-watch.js"},"engines":{"node":">=0.6"},"homepage":"http://github.com/webpack/enhanced-require","scripts":{"test":"node node_modules/mocha/bin/_mocha --reporter spec"},"readme":"# enhanced-require\n\nMore features for node.js require.\n\n* [loader support](https://github.com/webpack/docs/wiki/loaders)\n* [`require.ensure`](https://github.com/webpack/docs/wiki/require.ensure)\n* [AMD](https://github.com/webpack/docs/wiki/amd) `require`, `define` (from require.js)\n* [`require.context`](https://github.com/webpack/docs/wiki/require.context)\n* [Hot Code Replacement](https://github.com/webpack/docs/wiki/hot-code-replacement)\n* module substitutions for mocking\n\nAsynchron require functions are **really** async. They do not use the sync node.js require, but use a async resolving and async readFile.\n\n[documentation](https://github.com/webpack/docs/wiki)\n\n## License\n\nCopyright (c) 2012 Tobias Koppers\n\nMIT (http://www.opensource.org/licenses/mit-license.php)","readmeFilename":"README.md","_id":"enhanced-require@0.5.0-beta4","dist":{"shasum":"23ad68e28553c81cd5371a938bb5e22495eb18f1","tarball":"https://registry.npmjs.org/enhanced-require/-/enhanced-require-0.5.0-beta4.tgz","integrity":"sha512-fJro0QrI72F2G+oU0R9bcXZcbfiDEckwBaLz/PIggOOGMCRCvrbw/+1laRGklgeFOBDWD9s5fCl9vnBuFftrQQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA1xXLJ7uTITfkL8SSPAcVyAn20EJm18W2ry5rFUxMgiAiEA33C6sypjU7xJVcc2wXl6yKRyvx5HBFNQkB0HjvNULLM="}]},"_from":".","_npmVersion":"1.2.2","_npmUser":{"name":"sokra","email":"tobias.koppers@googlemail.com"},"maintainers":[{"name":"sokra","email":"tobias.koppers@googlemail.com"}]},"0.5.0-beta5":{"name":"enhanced-require","version":"0.5.0-beta5","author":{"name":"Tobias Koppers @sokra"},"description":"Enhance the require function in node.js with support for loaders which preprocess files and really async require (AMD). Enables Hot Code Replacement.","dependencies":{"enhanced-resolve":"0.5.x","webpack-core":"0.1.x","async":"0.2.x","clone":"0.1.x","buffer-equal":"0.0.x"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"devDependencies":{"mocha":"1.8.x","should":"1.1.x","raw-loader":"0.5.x","jade-loader":"0.5.x"},"main":"lib/require","bin":{"enhanced-require":"bin/enhanced-require.js","enhanced-require-hot-watch":"bin/hot-watch.js"},"engines":{"node":">=0.6"},"homepage":"http://github.com/webpack/enhanced-require","scripts":{"test":"node node_modules/mocha/bin/_mocha --reporter spec"},"readme":"# enhanced-require\n\nMore features for node.js require.\n\n* [loader support](https://github.com/webpack/docs/wiki/loaders)\n* [`require.ensure`](https://github.com/webpack/docs/wiki/require.ensure)\n* [AMD](https://github.com/webpack/docs/wiki/amd) `require`, `define` (from require.js)\n* [`require.context`](https://github.com/webpack/docs/wiki/require.context)\n* [Hot Code Replacement](https://github.com/webpack/docs/wiki/hot-code-replacement)\n* module substitutions for mocking\n\nAsynchron require functions are **really** async. They do not use the sync node.js require, but use a async resolving and async readFile.\n\n[documentation](https://github.com/webpack/docs/wiki)\n\n## License\n\nCopyright (c) 2012 Tobias Koppers\n\nMIT (http://www.opensource.org/licenses/mit-license.php)","_id":"enhanced-require@0.5.0-beta5","dist":{"shasum":"dd87fde18727023add7f342216b261611f634506","tarball":"https://registry.npmjs.org/enhanced-require/-/enhanced-require-0.5.0-beta5.tgz","integrity":"sha512-0F4M75R6c13C9iGo4zZDo0WbRtflD2ywR7ps/eNnH9CmMbhvAxHmAVDksF+KwQ4YNvsiXbPT6gP7XWqXfQ8lyA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGNG4u6DfabbsT9t5zf+7VgQU//2DJ4l04Mj+GwaS6FjAiBONn5HHYeYM98adARUOEY7njWYc2oUGFTrSNiLHaQ++g=="}]},"_npmVersion":"1.1.61","_npmUser":{"name":"sokra","email":"tobias.koppers@googlemail.com"},"maintainers":[{"name":"sokra","email":"tobias.koppers@googlemail.com"}]},"0.5.0-beta6":{"name":"enhanced-require","version":"0.5.0-beta6","author":{"name":"Tobias Koppers @sokra"},"description":"Enhance the require function in node.js with support for loaders which preprocess files and really async require (AMD). Enables Hot Code Replacement.","dependencies":{"enhanced-resolve":"0.5.x","webpack-core":"0.1.x","async":"0.2.x","clone":"0.1.x","buffer-equal":"0.0.x"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"devDependencies":{"mocha":"1.8.x","should":"1.1.x","raw-loader":"0.5.x","jade-loader":"0.5.x"},"main":"lib/require","bin":{"enhanced-require":"bin/enhanced-require.js","enhanced-require-hot-watch":"bin/hot-watch.js"},"engines":{"node":">=0.6"},"homepage":"http://github.com/webpack/enhanced-require","scripts":{"test":"node node_modules/mocha/bin/_mocha --reporter spec"},"readme":"# enhanced-require\r\n\r\nMore features for node.js require.\r\n\r\n* [loader support](https://github.com/webpack/docs/wiki/loaders)\r\n* [`require.ensure`](https://github.com/webpack/docs/wiki/require.ensure)\r\n* [AMD](https://github.com/webpack/docs/wiki/amd) `require`, `define` (from require.js)\r\n* [`require.context`](https://github.com/webpack/docs/wiki/require.context)\r\n* [Hot Code Replacement](https://github.com/webpack/docs/wiki/hot-code-replacement)\r\n* module substitutions for mocking\r\n\r\nAsynchron require functions are **really** async. They do not use the sync node.js require, but use a async resolving and async readFile.\r\n\r\n[documentation](https://github.com/webpack/docs/wiki)\r\n\r\n## License\r\n\r\nCopyright (c) 2012 Tobias Koppers\r\n\r\nMIT (http://www.opensource.org/licenses/mit-license.php)","_id":"enhanced-require@0.5.0-beta6","dist":{"shasum":"af6dc67901012fa4e256583edf2e5df1bebd6d3c","tarball":"https://registry.npmjs.org/enhanced-require/-/enhanced-require-0.5.0-beta6.tgz","integrity":"sha512-+RXD3LhO4Di9I8ImtkNTGMAALFrO0L2khrZUpoo2A2bTo6vTx9YVS7abdhu+sswnLVDAALweXe0toF6OzxtYrg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICduarg5zOYrEydj5RA1jgKzEZYslFwW9kWgXxkh4XLfAiB4YB04ne91neb3me9hgzVDmlCbEdudzTuGuIy8pPo4fA=="}]},"_npmVersion":"1.1.63","_npmUser":{"name":"sokra","email":"tobias.koppers@googlemail.com"},"maintainers":[{"name":"sokra","email":"tobias.koppers@googlemail.com"}]}},"readme":"# enhanced-require\r\n\r\nThis module added [loader support](https://github.com/sokra/modules-webpack/wiki/Loader-Specification) to node.js.\r\n\r\nIt offers features availible in webpack to node.js.\r\n\r\nAdd this line to a node.js module to active the enhanced features in that module.\r\n\r\n``` javascript\r\nrequire = require(\"enhanced-require\")(require.valueOf());\r\n```\r\n\r\nThan you can use them:\r\n\r\n``` javascript\r\nvar template = require(\"./my-template.jade\");\r\nvar fileContent = require(\"raw!\"+__filename);\r\nvar html = template({content: fileContent});\r\nvar directoryRequire = require.context(\"raw!./subdir\");\r\nvar txtFile = directoryRequire(\"./aFile.txt\");\r\n```\r\n\r\n## Future Plans\r\n\r\n* `require(\"enhanced-require/install\")` enables support for all modules.\r\n\r\n## License\r\n\r\nCopyright (c) 2012 Tobias Koppers\r\n\r\nMIT (http://www.opensource.org/licenses/mit-license.php)","maintainers":[{"name":"sokra","email":"tobias.koppers@googlemail.com"}],"time":{"modified":"2022-06-17T05:37:23.775Z","created":"2012-07-01T13:41:14.945Z","0.1.0":"2012-07-01T13:41:18.555Z","0.1.1":"2012-07-01T13:58:50.862Z","0.2.0":"2012-08-23T16:39:37.864Z","0.3.0":"2012-09-25T14:55:54.866Z","0.3.1":"2012-10-08T22:09:40.933Z","0.4.0-beta":"2012-10-26T19:58:57.214Z","0.4.0-beta2":"2012-10-26T22:03:49.004Z","0.4.0-beta3":"2012-10-27T00:23:19.289Z","0.4.0-beta4":"2012-11-01T23:27:46.078Z","0.4.0-beta5":"2012-11-05T09:56:35.255Z","0.4.0-beta6":"2012-11-05T11:02:29.194Z","0.4.0-beta9":"2012-11-05T11:32:29.201Z","0.4.0-beta10":"2012-11-06T14:01:09.619Z","0.4.0-beta11":"2012-11-07T08:14:01.860Z","0.4.0-beta12":"2012-11-08T20:43:00.994Z","0.4.0-beta13":"2012-11-11T10:32:15.639Z","0.4.0-beta14":"2012-11-11T22:45:42.471Z","0.4.0-beta15":"2012-11-12T23:43:15.456Z","0.4.0-beta16":"2012-11-13T10:47:37.983Z","0.4.0-beta17":"2012-11-13T11:04:52.995Z","0.4.0-beta18":"2012-11-13T11:18:00.437Z","0.4.0":"2012-11-14T19:35:09.827Z","0.4.1":"2012-11-19T09:21:56.789Z","0.4.2":"2013-02-04T10:14:35.274Z","0.5.0-beta1":"2013-02-15T13:51:13.940Z","0.5.0-beta2":"2013-02-15T13:56:39.899Z","0.5.0-beta3":"2013-02-21T09:30:10.418Z","0.5.0-beta4":"2013-02-22T09:00:20.474Z","0.5.0-beta5":"2013-04-15T12:52:20.651Z","0.5.0-beta6":"2013-06-07T07:59:54.358Z"},"author":{"name":"Tobias Koppers @sokra"}}