{"_id":"app-module-path","_rev":"942026","name":"app-module-path","description":"Simple module to add additional directories to the Node module search for top-level app modules","dist-tags":{"latest":"2.2.0"},"maintainers":[{"name":"austinkelleher","email":"austin.kell47@gmail.com"},{"name":"dylanpiercey","email":"pierceydylan@gmail.com"},{"name":"mlrawlings","email":"ml.rawlings@gmail.com"},{"name":"philidem","email":"phillip.idem@gmail.com"},{"name":"pnidem","email":"pnidem@gmail.com"}],"time":{"modified":"2021-09-23T02:08:16.000Z","created":"2014-01-03T17:37:41.115Z","2.2.0":"2017-01-05T19:57:12.201Z","2.1.0":"2016-10-07T22:17:27.609Z","2.0.0":"2016-09-20T23:57:16.809Z","1.1.0":"2016-05-27T13:10:37.310Z","1.0.6":"2016-03-21T22:03:44.541Z","1.0.5":"2015-12-01T04:33:06.060Z","1.0.4":"2015-08-21T22:14:11.546Z","1.0.3":"2015-07-24T18:27:08.353Z","1.0.2":"2015-04-23T02:14:02.720Z","1.0.1":"2014-12-29T18:56:51.172Z","1.0.0":"2014-09-22T19:48:00.004Z","0.3.2-beta":"2014-07-19T03:40:19.638Z","0.3.1-beta":"2014-07-19T03:36:59.781Z","0.3.0-beta":"2014-02-27T00:33:38.328Z","0.1.0":"2014-01-03T17:37:41.115Z"},"users":{"highflying":true,"iliyat":true,"minchnew":true,"amaynut":true,"famousgarkin":true,"cparker15":true,"slowmove":true,"temoto-kun":true,"justinshea":true,"tommyzzm":true,"blitzprog":true,"mlohscheidt":true,"ugarz":true,"kilkelly":true,"vleesbrood":true,"ryanlee":true,"laggingreflex":true,"phongtattuan":true,"cognivator":true,"obouchari":true,"scotchulous":true,"mbaer":true,"onestone":true,"boneskull":true,"emarcs":true,"wangnan0610":true,"brainmurder":true,"rahulraghavankklm":true,"hyperlink":true,"zaher":true,"asadm2706":true,"donecharlton":true,"lucho_1312":true,"nraibaud":true,"ricardweii":true,"isayme":true,"leeqiang":true,"evan-king":true,"droidsheep":true,"muhammadghazali":true},"author":{"name":"Patrick Steele-Idem","email":"pnidem@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/patrick-steele-idem/app-module-path-node.git"},"versions":{"2.2.0":{"name":"app-module-path","description":"Simple module to add additional directories to the Node module search for top-level app modules","main":"lib/index.js","scripts":{"test":"node test/test.js && ./node_modules/mocha/bin/mocha test/test2.js"},"repository":{"type":"git","url":"git+https://github.com/patrick-steele-idem/app-module-path-node.git"},"keywords":["modules","path","node","extend","resolve"],"author":{"name":"Patrick Steele-Idem","email":"pnidem@gmail.com"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/patrick-steele-idem/app-module-path-node/issues"},"homepage":"https://github.com/patrick-steele-idem/app-module-path-node","publishConfig":{"registry":"https://registry.npmjs.org/"},"ebay":{},"devDependencies":{"chai":"^3.5.0","mocha":"^3.2.0"},"version":"2.2.0","gitHead":"e0942e24b37ab7e7259ea4c822d157d8d8aa3787","_id":"app-module-path@2.2.0","_shasum":"641aa55dfb7d6a6f0a8141c4b9c0aa50b6c24dd5","_from":".","_npmVersion":"2.15.9","_nodeVersion":"4.5.0","_npmUser":{"name":"pnidem","email":"pnidem@gmail.com"},"dist":{"shasum":"641aa55dfb7d6a6f0a8141c4b9c0aa50b6c24dd5","size":6670,"noattachment":false,"key":"/app-module-path/-/app-module-path-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/app-module-path/download/app-module-path-2.2.0.tgz"},"maintainers":[{"name":"austinkelleher","email":"austin.kell47@gmail.com"},{"name":"dylanpiercey","email":"pierceydylan@gmail.com"},{"name":"mlrawlings","email":"ml.rawlings@gmail.com"},{"name":"philidem","email":"phillip.idem@gmail.com"},{"name":"pnidem","email":"pnidem@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/app-module-path-2.2.0.tgz_1483646230485_0.8301258084829897"},"directories":{},"publish_time":1483646232201,"_cnpm_publish_time":1483646232201,"_hasShrinkwrap":false},"2.1.0":{"name":"app-module-path","description":"Simple module to add additional directories to the Node module search for top-level app modules","main":"lib/index.js","scripts":{"test":"node test/test.js && ./node_modules/mocha/bin/mocha test/test2.js"},"repository":{"type":"git","url":"git+https://github.com/patrick-steele-idem/app-module-path-node.git"},"keywords":["modules","path","node","extend","resolve"],"author":{"name":"Patrick Steele-Idem","email":"pnidem@gmail.com"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/patrick-steele-idem/app-module-path-node/issues"},"homepage":"https://github.com/patrick-steele-idem/app-module-path-node","publishConfig":{"registry":"https://registry.npmjs.org/"},"ebay":{},"devDependencies":{"mocha":"^2.2.5"},"version":"2.1.0","gitHead":"97fc60947bcca6e194f549d0d374ef34a5eb49df","_id":"app-module-path@2.1.0","_shasum":"d0c575f27de7a81c325cf3852c90790c0c75494a","_from":".","_npmVersion":"2.15.9","_nodeVersion":"4.5.0","_npmUser":{"name":"pnidem","email":"pnidem@gmail.com"},"dist":{"shasum":"d0c575f27de7a81c325cf3852c90790c0c75494a","size":5539,"noattachment":false,"key":"/app-module-path/-/app-module-path-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/app-module-path/download/app-module-path-2.1.0.tgz"},"maintainers":[{"name":"austinkelleher","email":"austin.kell47@gmail.com"},{"name":"dylanpiercey","email":"pierceydylan@gmail.com"},{"name":"mlrawlings","email":"ml.rawlings@gmail.com"},{"name":"philidem","email":"phillip.idem@gmail.com"},{"name":"pnidem","email":"pnidem@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/app-module-path-2.1.0.tgz_1475878645642_0.604244987713173"},"directories":{},"publish_time":1475878647609,"_cnpm_publish_time":1475878647609,"_hasShrinkwrap":false},"2.0.0":{"name":"app-module-path","description":"Simple module to add additional directories to the Node module search for top-level app modules","main":"lib/index.js","scripts":{"test":"node test/test.js && ./node_modules/mocha/bin/mocha test/test2.js"},"repository":{"type":"git","url":"git+https://github.com/patrick-steele-idem/app-module-path-node.git"},"keywords":["modules","path","node","extend","resolve"],"author":{"name":"Patrick Steele-Idem","email":"pnidem@gmail.com"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/patrick-steele-idem/app-module-path-node/issues"},"homepage":"https://github.com/patrick-steele-idem/app-module-path-node","publishConfig":{"registry":"https://registry.npmjs.org/"},"ebay":{},"devDependencies":{"mocha":"^2.2.5"},"version":"2.0.0","gitHead":"178d2b5ef6c1e2a96ea308286887435c702a9c8e","_id":"app-module-path@2.0.0","_shasum":"f614bd3d62154e5dc1eb4562c9ff1f919d529f11","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.3","_npmUser":{"name":"mlrawlings","email":"ml.rawlings@gmail.com"},"dist":{"shasum":"f614bd3d62154e5dc1eb4562c9ff1f919d529f11","size":5078,"noattachment":false,"key":"/app-module-path/-/app-module-path-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/app-module-path/download/app-module-path-2.0.0.tgz"},"maintainers":[{"name":"austinkelleher","email":"austin.kell47@gmail.com"},{"name":"dylanpiercey","email":"pierceydylan@gmail.com"},{"name":"mlrawlings","email":"ml.rawlings@gmail.com"},{"name":"philidem","email":"phillip.idem@gmail.com"},{"name":"pnidem","email":"pnidem@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/app-module-path-2.0.0.tgz_1474415834614_0.3435458382591605"},"directories":{},"publish_time":1474415836809,"_cnpm_publish_time":1474415836809,"_hasShrinkwrap":false},"1.1.0":{"name":"app-module-path","description":"Simple module to add additional directories to the Node module search for top-level app modules","main":"lib/index.js","scripts":{"test":"node test/test.js && ./node_modules/mocha/bin/mocha test/test2.js"},"repository":{"type":"git","url":"git+https://github.com/patrick-steele-idem/app-module-path-node.git"},"keywords":["modules","path","node","extend","resolve"],"author":{"name":"Patrick Steele-Idem","email":"pnidem@gmail.com"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/patrick-steele-idem/app-module-path-node/issues"},"homepage":"https://github.com/patrick-steele-idem/app-module-path-node","publishConfig":{"registry":"https://registry.npmjs.org/"},"ebay":{},"devDependencies":{"mocha":"^2.2.5"},"version":"1.1.0","gitHead":"af205723e82841aa84dad5e149b3de02064c3c29","_id":"app-module-path@1.1.0","_shasum":"a6ac5368450f209b9f5b86e9a3e4a6ab6fe7531c","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.3","_npmUser":{"name":"pnidem","email":"pnidem@gmail.com"},"dist":{"shasum":"a6ac5368450f209b9f5b86e9a3e4a6ab6fe7531c","size":5000,"noattachment":false,"key":"/app-module-path/-/app-module-path-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/app-module-path/download/app-module-path-1.1.0.tgz"},"maintainers":[{"name":"austinkelleher","email":"austin.kell47@gmail.com"},{"name":"dylanpiercey","email":"pierceydylan@gmail.com"},{"name":"mlrawlings","email":"ml.rawlings@gmail.com"},{"name":"philidem","email":"phillip.idem@gmail.com"},{"name":"pnidem","email":"pnidem@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/app-module-path-1.1.0.tgz_1464354635426_0.9401065593119711"},"directories":{},"publish_time":1464354637310,"_cnpm_publish_time":1464354637310,"_hasShrinkwrap":false},"1.0.6":{"name":"app-module-path","description":"Simple module to add additional directories to the Node module search for top-level app modules","main":"lib/index.js","scripts":{"test":"node test/test.js && ./node_modules/mocha/bin/mocha test/test2.js"},"repository":{"type":"git","url":"git+https://github.com/patrick-steele-idem/app-module-path-node.git"},"keywords":["modules","path","node","extend","resolve"],"author":{"name":"Patrick Steele-Idem","email":"pnidem@gmail.com"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/patrick-steele-idem/app-module-path-node/issues"},"homepage":"https://github.com/patrick-steele-idem/app-module-path-node","publishConfig":{"registry":"https://registry.npmjs.org/"},"ebay":{},"devDependencies":{"mocha":"^2.2.5"},"version":"1.0.6","gitHead":"fc3e387b35e003cf86b5f12172c3b2d63c01e681","_id":"app-module-path@1.0.6","_shasum":"35d95f3251c16be8b5bc30a3ee6c14769090b781","_from":".","_npmVersion":"2.14.20","_nodeVersion":"0.10.35","_npmUser":{"name":"pnidem","email":"pnidem@gmail.com"},"maintainers":[{"name":"austinkelleher","email":"austin.kell47@gmail.com"},{"name":"dylanpiercey","email":"pierceydylan@gmail.com"},{"name":"mlrawlings","email":"ml.rawlings@gmail.com"},{"name":"philidem","email":"phillip.idem@gmail.com"},{"name":"pnidem","email":"pnidem@gmail.com"}],"dist":{"shasum":"35d95f3251c16be8b5bc30a3ee6c14769090b781","size":4829,"noattachment":false,"key":"/app-module-path/-/app-module-path-1.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/app-module-path/download/app-module-path-1.0.6.tgz"},"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/app-module-path-1.0.6.tgz_1458597821992_0.3850711970590055"},"directories":{},"publish_time":1458597824541,"_cnpm_publish_time":1458597824541,"_hasShrinkwrap":false},"1.0.5":{"name":"app-module-path","description":"Simple module to add additional directories to the Node module search for top-level app modules","main":"lib/index.js","scripts":{"test":"node test/test.js && ./node_modules/mocha/bin/mocha test/test2.js"},"repository":{"type":"git","url":"https://github.com/patrick-steele-idem/app-module-path-node"},"keywords":["modules","path","node","extend","resolve"],"author":{"name":"Patrick Steele-Idem","email":"pnidem@gmail.com"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/patrick-steele-idem/app-module-path-node/issues"},"homepage":"https://github.com/patrick-steele-idem/app-module-path-node","publishConfig":{"registry":"https://registry.npmjs.org/"},"ebay":{},"devDependencies":{"mocha":"^2.2.5"},"version":"1.0.5","gitHead":"a6193be70c11f05086864df225221ddfd91c1bfc","_id":"app-module-path@1.0.5","_shasum":"12cdaf54ca2b04925d3aefbe803969524014f93a","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"pnidem","email":"pnidem@gmail.com"},"maintainers":[{"name":"austinkelleher","email":"austin.kell47@gmail.com"},{"name":"dylanpiercey","email":"pierceydylan@gmail.com"},{"name":"mlrawlings","email":"ml.rawlings@gmail.com"},{"name":"philidem","email":"phillip.idem@gmail.com"},{"name":"pnidem","email":"pnidem@gmail.com"}],"dist":{"shasum":"12cdaf54ca2b04925d3aefbe803969524014f93a","size":4811,"noattachment":false,"key":"/app-module-path/-/app-module-path-1.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/app-module-path/download/app-module-path-1.0.5.tgz"},"directories":{},"publish_time":1448944386060,"_cnpm_publish_time":1448944386060,"_hasShrinkwrap":false},"1.0.4":{"name":"app-module-path","description":"Simple module to add additional directories to the Node module search for top-level app modules","main":"lib/index.js","scripts":{"test":"node test/test.js && ./node_modules/mocha/bin/mocha test/test2.js"},"repository":{"type":"git","url":"https://github.com/patrick-steele-idem/app-module-path-node"},"keywords":["modules","path","node","extend","resolve"],"author":{"name":"Patrick Steele-Idem","email":"pnidem@gmail.com"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/patrick-steele-idem/app-module-path-node/issues"},"homepage":"https://github.com/patrick-steele-idem/app-module-path-node","publishConfig":{"registry":"https://registry.npmjs.org/"},"ebay":{},"devDependencies":{"mocha":"^2.2.5"},"version":"1.0.4","gitHead":"a9831ce467c193149a2712f3ce4b4aa5d8a583b8","_id":"app-module-path@1.0.4","_shasum":"187ab507c8a28a191fac070475d964122df1cb15","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"pnidem","email":"pnidem@gmail.com"},"maintainers":[{"name":"austinkelleher","email":"austin.kell47@gmail.com"},{"name":"dylanpiercey","email":"pierceydylan@gmail.com"},{"name":"mlrawlings","email":"ml.rawlings@gmail.com"},{"name":"philidem","email":"phillip.idem@gmail.com"},{"name":"pnidem","email":"pnidem@gmail.com"}],"dist":{"shasum":"187ab507c8a28a191fac070475d964122df1cb15","size":4413,"noattachment":false,"key":"/app-module-path/-/app-module-path-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/app-module-path/download/app-module-path-1.0.4.tgz"},"directories":{},"publish_time":1440195251546,"_cnpm_publish_time":1440195251546,"_hasShrinkwrap":false},"1.0.3":{"name":"app-module-path","description":"Simple module to add additional directories to the Node module search for top-level app modules","main":"lib/index.js","scripts":{"test":"node test/test.js && ./node_modules/mocha/bin/mocha test/test2.js"},"repository":{"type":"git","url":"https://github.com/patrick-steele-idem/app-module-path-node"},"keywords":["modules","path","node","extend","resolve"],"author":{"name":"Patrick Steele-Idem","email":"pnidem@gmail.com"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/patrick-steele-idem/app-module-path-node/issues"},"homepage":"https://github.com/patrick-steele-idem/app-module-path-node","publishConfig":{"registry":"https://registry.npmjs.org/"},"ebay":{},"devDependencies":{"mocha":"^2.2.5"},"version":"1.0.3","gitHead":"d82ff68178991a5efed90159cff4a28edce1584a","_id":"app-module-path@1.0.3","_shasum":"f3b0dda1958a88461b1dab58a356651967b8cf84","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"pnidem","email":"pnidem@gmail.com"},"maintainers":[{"name":"austinkelleher","email":"austin.kell47@gmail.com"},{"name":"dylanpiercey","email":"pierceydylan@gmail.com"},{"name":"mlrawlings","email":"ml.rawlings@gmail.com"},{"name":"philidem","email":"phillip.idem@gmail.com"},{"name":"pnidem","email":"pnidem@gmail.com"}],"dist":{"shasum":"f3b0dda1958a88461b1dab58a356651967b8cf84","size":4365,"noattachment":false,"key":"/app-module-path/-/app-module-path-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/app-module-path/download/app-module-path-1.0.3.tgz"},"directories":{},"publish_time":1437762428353,"_cnpm_publish_time":1437762428353,"_hasShrinkwrap":false},"1.0.2":{"name":"app-module-path","description":"Simple module to add additional directories to the Node module search for top-level app modules","main":"lib/index.js","scripts":{"test":"node test/test.js"},"repository":{"type":"git","url":"https://github.com/patrick-steele-idem/app-module-path-node"},"keywords":["modules","path","node","extend","resolve"],"author":{"name":"Patrick Steele-Idem","email":"pnidem@gmail.com"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/patrick-steele-idem/app-module-path-node/issues"},"homepage":"https://github.com/patrick-steele-idem/app-module-path-node","publishConfig":{"registry":"https://registry.npmjs.org/"},"ebay":{},"version":"1.0.2","gitHead":"3df3ae6705a3ae195fd05a638be11f3bd379c813","_id":"app-module-path@1.0.2","_shasum":"ddaf02e39155aa2f831a2306ee5a2d7a2d0d9a1f","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"pnidem","email":"pnidem@gmail.com"},"maintainers":[{"name":"austinkelleher","email":"austin.kell47@gmail.com"},{"name":"dylanpiercey","email":"pierceydylan@gmail.com"},{"name":"mlrawlings","email":"ml.rawlings@gmail.com"},{"name":"philidem","email":"phillip.idem@gmail.com"},{"name":"pnidem","email":"pnidem@gmail.com"}],"dist":{"shasum":"ddaf02e39155aa2f831a2306ee5a2d7a2d0d9a1f","size":3914,"noattachment":false,"key":"/app-module-path/-/app-module-path-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/app-module-path/download/app-module-path-1.0.2.tgz"},"directories":{},"publish_time":1429755242720,"_cnpm_publish_time":1429755242720,"_hasShrinkwrap":false},"1.0.1":{"name":"app-module-path","description":"Simple module to add additional directories to the Node module search for top-level app modules","main":"lib/index.js","scripts":{"test":"node test/test.js"},"repository":{"type":"git","url":"https://github.com/patrick-steele-idem/app-module-path-node"},"keywords":["modules","path","node","extend","resolve"],"author":{"name":"Patrick Steele-Idem","email":"pnidem@gmail.com"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/patrick-steele-idem/app-module-path-node/issues"},"homepage":"https://github.com/patrick-steele-idem/app-module-path-node","publishConfig":{"registry":"https://registry.npmjs.org/"},"ebay":{},"version":"1.0.1","gitHead":"9590b6070d1a62a903abc2d12ad46df2e07da6e4","_id":"app-module-path@1.0.1","_shasum":"963d94789a5eea8ade6f3d66d73910f5e853b59c","_from":".","_npmVersion":"2.1.11","_nodeVersion":"0.10.33","_npmUser":{"name":"philidem","email":"phillip.idem@gmail.com"},"maintainers":[{"name":"austinkelleher","email":"austin.kell47@gmail.com"},{"name":"dylanpiercey","email":"pierceydylan@gmail.com"},{"name":"mlrawlings","email":"ml.rawlings@gmail.com"},{"name":"philidem","email":"phillip.idem@gmail.com"},{"name":"pnidem","email":"pnidem@gmail.com"}],"dist":{"shasum":"963d94789a5eea8ade6f3d66d73910f5e853b59c","size":2788,"noattachment":false,"key":"/app-module-path/-/app-module-path-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/app-module-path/download/app-module-path-1.0.1.tgz"},"directories":{},"publish_time":1419879411172,"_cnpm_publish_time":1419879411172,"_hasShrinkwrap":false},"1.0.0":{"name":"app-module-path","description":"Simple module to add additional directories to the Node module search for top-level app modules","main":"lib/index.js","scripts":{"test":"node test/test.js"},"repository":{"type":"git","url":"https://github.com/patrick-steele-idem/app-module-path-node"},"keywords":["modules","path","node","extend","resolve"],"author":{"name":"Patrick Steele-Idem","email":"pnidem@gmail.com"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/patrick-steele-idem/app-module-path-node/issues"},"homepage":"https://github.com/patrick-steele-idem/app-module-path-node","publishConfig":{"registry":"https://registry.npmjs.org/"},"ebay":{},"version":"1.0.0","gitHead":"ced07825439e5107bb0e385d3488756bd247dd5b","_id":"app-module-path@1.0.0","_shasum":"1dec89dcc69bab8c4c2b8691afcfec7a20ca6f9a","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"pnidem","email":"pnidem@gmail.com"},"maintainers":[{"name":"austinkelleher","email":"austin.kell47@gmail.com"},{"name":"dylanpiercey","email":"pierceydylan@gmail.com"},{"name":"mlrawlings","email":"ml.rawlings@gmail.com"},{"name":"philidem","email":"phillip.idem@gmail.com"},{"name":"pnidem","email":"pnidem@gmail.com"}],"dist":{"shasum":"1dec89dcc69bab8c4c2b8691afcfec7a20ca6f9a","size":3434,"noattachment":false,"key":"/app-module-path/-/app-module-path-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/app-module-path/download/app-module-path-1.0.0.tgz"},"directories":{},"publish_time":1411415280004,"_cnpm_publish_time":1411415280004,"_hasShrinkwrap":false},"0.3.2-beta":{"name":"app-module-path","description":"Simple module to add additional directories to the Node module search for top-level app modules","main":"lib/index.js","scripts":{"test":"node test/test.js"},"repository":{"type":"git","url":"https://github.com/patrick-steele-idem/app-module-path-node"},"keywords":["modules","path","node","extend","resolve"],"author":{"name":"Patrick Steele-Idem","email":"pnidem@gmail.com"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/patrick-steele-idem/app-module-path-node/issues"},"homepage":"https://github.com/patrick-steele-idem/app-module-path-node","publishConfig":{"registry":"https://registry.npmjs.org/"},"ebay":{},"version":"0.3.2-beta","gitHead":"74a4b3a1910ba487f6684e7a64ac39e6df9e6d9e","_id":"app-module-path@0.3.2-beta","_shasum":"625e97269db6e4d848d616ba5f294e925401baba","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"pnidem","email":"pnidem@gmail.com"},"maintainers":[{"name":"austinkelleher","email":"austin.kell47@gmail.com"},{"name":"dylanpiercey","email":"pierceydylan@gmail.com"},{"name":"mlrawlings","email":"ml.rawlings@gmail.com"},{"name":"philidem","email":"phillip.idem@gmail.com"},{"name":"pnidem","email":"pnidem@gmail.com"}],"dist":{"shasum":"625e97269db6e4d848d616ba5f294e925401baba","size":3453,"noattachment":false,"key":"/app-module-path/-/app-module-path-0.3.2-beta.tgz","tarball":"http://registry.cnpm.dingdandao.com/app-module-path/download/app-module-path-0.3.2-beta.tgz"},"directories":{},"publish_time":1405741219638,"_cnpm_publish_time":1405741219638,"_hasShrinkwrap":false},"0.3.1-beta":{"name":"app-module-path","description":"Simple module to add additional directories to the Node module search for top-level app modules","main":"lib/index.js","scripts":{"test":"node test/test.js"},"repository":{"type":"git","url":"https://github.com/patrick-steele-idem/app-module-path-node"},"keywords":["modules","path","node","extend","resolve"],"author":{"name":"Patrick Steele-Idem","email":"pnidem@gmail.com"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/patrick-steele-idem/app-module-path-node/issues"},"homepage":"https://github.com/patrick-steele-idem/app-module-path-node","publishConfig":{"registry":"https://registry.npmjs.org/"},"ebay":{},"version":"0.3.1-beta","gitHead":"cbcb6851e8e3d2b6ca66a62881001e30dea365b5","_id":"app-module-path@0.3.1-beta","_shasum":"1e3375286a1bc93c34be5520e4ab22b1ca3891af","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"pnidem","email":"pnidem@gmail.com"},"maintainers":[{"name":"austinkelleher","email":"austin.kell47@gmail.com"},{"name":"dylanpiercey","email":"pierceydylan@gmail.com"},{"name":"mlrawlings","email":"ml.rawlings@gmail.com"},{"name":"philidem","email":"phillip.idem@gmail.com"},{"name":"pnidem","email":"pnidem@gmail.com"}],"dist":{"shasum":"1e3375286a1bc93c34be5520e4ab22b1ca3891af","size":3445,"noattachment":false,"key":"/app-module-path/-/app-module-path-0.3.1-beta.tgz","tarball":"http://registry.cnpm.dingdandao.com/app-module-path/download/app-module-path-0.3.1-beta.tgz"},"directories":{},"publish_time":1405741019781,"_cnpm_publish_time":1405741019781,"_hasShrinkwrap":false},"0.3.0-beta":{"name":"app-module-path","version":"0.3.0-beta","description":"Simple module to add additional directories to the Node module search for top-level app modules","main":"lib/index.js","scripts":{"test":"node test/test.js"},"repository":{"type":"git","url":"https://github.com/patrick-steele-idem/app-module-path-node"},"keywords":["modules","path","node","extend","resolve"],"author":{"name":"Patrick Steele-Idem","email":"pnidem@gmail.com"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/patrick-steele-idem/app-module-path-node/issues"},"homepage":"https://github.com/patrick-steele-idem/app-module-path-node","publishConfig":{"registry":"https://registry.npmjs.org/"},"ebay":{},"_id":"app-module-path@0.3.0-beta","dist":{"shasum":"5904affb4c17a4a86d1a328c69698541fd2b62ad","size":2906,"noattachment":false,"key":"/app-module-path/-/app-module-path-0.3.0-beta.tgz","tarball":"http://registry.cnpm.dingdandao.com/app-module-path/download/app-module-path-0.3.0-beta.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"pnidem","email":"pnidem@gmail.com"},"maintainers":[{"name":"austinkelleher","email":"austin.kell47@gmail.com"},{"name":"dylanpiercey","email":"pierceydylan@gmail.com"},{"name":"mlrawlings","email":"ml.rawlings@gmail.com"},{"name":"philidem","email":"phillip.idem@gmail.com"},{"name":"pnidem","email":"pnidem@gmail.com"}],"directories":{},"publish_time":1393461218328,"_hasShrinkwrap":false,"_cnpm_publish_time":1393461218328},"0.1.0":{"name":"app-module-path","version":"0.1.0","description":"Simple module to add additional directories to the Node module search for top-level app modules","main":"lib/index.js","scripts":{"test":"node test/test.js"},"repository":{"type":"git","url":"https://github.com/patrick-steele-idem/app-module-path-node"},"keywords":["modules","path","node","extend","resolve"],"author":{"name":"Patrick Steele-Idem","email":"pnidem@gmail.com"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/patrick-steele-idem/app-module-path-node/issues"},"homepage":"https://github.com/patrick-steele-idem/app-module-path-node","publishConfig":{"registry":"https://registry.npmjs.org/"},"ebay":{},"_id":"app-module-path@0.1.0","dist":{"shasum":"97008d8431b8c974ab61356302529a61df1c32a0","size":2847,"noattachment":false,"key":"/app-module-path/-/app-module-path-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/app-module-path/download/app-module-path-0.1.0.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"pnidem","email":"pnidem@gmail.com"},"maintainers":[{"name":"austinkelleher","email":"austin.kell47@gmail.com"},{"name":"dylanpiercey","email":"pierceydylan@gmail.com"},{"name":"mlrawlings","email":"ml.rawlings@gmail.com"},{"name":"philidem","email":"phillip.idem@gmail.com"},{"name":"pnidem","email":"pnidem@gmail.com"}],"directories":{},"publish_time":1388770661115,"_hasShrinkwrap":false,"_cnpm_publish_time":1388770661115}},"readme":"[![NPM](https://nodei.co/npm/app-module-path.png?downloads=true)](https://nodei.co/npm/app-module-path/)\n\napp-module-path\n=====================\n\nThis simple module enables you to add additional directories to the Node.js module search path (for top-level app modules only). This allows application-level modules to be required as if they were installed into the `node_modules` directory.\n\n## Installation\n\n`npm install app-module-path --save`\n\n## Usage\n```javascript\n// ***IMPORTANT**: The following line should be added to the very\n//                 beginning of your main script!\nrequire('app-module-path').addPath(baseDir);\n```\n\n__IMPORTANT:__\nThe search path should be modified before any modules are loaded!\n\n__Example:__\n\nIn your `my-app/index.js` (or `my-app/server.js`) file:\n```javascript\n// Add the root project directory to the app module search path:\nrequire('app-module-path').addPath(__dirname);\n```\n\nGiven the following example directory structure:\n\n- **my-app/**\n    - **src/** - Source code and application modules directory\n        - **foo/** - A module directory\n            - index.js\n        - **bar/** - Another module directory\n            - index.js\n    - **node_modules/** - Installed modules\n        - **installed-baz/** - An installed module\n            - index.js\n    - index.js - Main script\n\nThe following will work for any modules under the `src` directory:\n```javascript\n// All of the following lines will work in \"src/foo/index.js\" and \"src/bar/index.js\":\nvar foo = require('src/foo'); // Works\nvar bar = require('src/bar'); // Works\nvar baz = require('installed-baz'); // Works\n```\n\nLastly, by design, installed modules (i.e. modules under the `node_modules` directory) will not be able to require application-level modules so the following will ___not___ work:\n\n```javascript\n// All of the following lines will *not* work in \"node_modules/installed-baz/index.js\"!\nvar foo = require('src/foo'); // Fails\nvar bar = require('src/bar'); // Fails\n```\n\n## Alternate Usage (`app-module-path/register`)\n\nThis module supports an alternate method of adding a path to the Node.js module search path that requires less code. Requiring or importing the `app-module-path/register` module will result in the directory of the calling module being added to the Node.js module search path as shown below:\n\n## Explicitly enabling a directory/package\n\nBy default, `app-module-path` will not attempt to resolve app modules from a directory that is found to be within a `node_modules` directory. This behavior can be changed by explicitly enabling `app-module-path` to work for descendent modules of a specific directory. For example:\n\n```javascript\nvar packageDir = path.dirname(require.resolve('installed-module-allowed'));\nrequire('../').enableForDir(packageDir);\n```\n\n\n### ES5\n\n```javascript\nrequire('app-module-path/register');\n\n// Is equivalent to:\nrequire('app-module-path').addPath(__dirname);\n```\n\n### ES6\n\n```javascript\nimport \"app-module-path/register\";\n\n// Is equivalent to:\nimport { addPath } from 'app-module-path';\naddPath(__dirname);\n```\n\n## Alternative Usage (`app-module-path/cwd`)\n\nAdditionally, requiring or importing `app-module-path/cwd` will result in the current working directory of the Node.js process being added to the module search path as shown below:\n\n### ES5\n\n```javascript\nrequire('app-module-path/cwd');\n\n// Is equivalent to:\nrequire('app-module-path').addPath(process.cwd());\n```\n\n### ES6\n\n```javascript\nimport \"app-module-path/cwd\";\n\n// Is equivalent to:\nimport { addPath } from 'app-module-path';\naddPath(process.cwd());\n```\n\n## Additional Notes\n\n* __Search path order:__\n    * App module paths will be added to the end of the default module search path. That is, if a module with the same name exists in both a `node_modules` directory and an application module directory then the module in the `node_modules` directory will be loaded since it is found first.\n    *This behavior is new in v2.x. In v1.x, this search order was reversed*\n\n* __Node.js compatibility:__\n    * This module depends on overriding/wrapping a built-in Node.js method, and it is possible (but unlikely) that this behavior could be broken in a future release of Node.js (at which point a workaround would need to be used)\n    * This module will _not_ change or break modules installed into the `node_modules` directory.\n* __Recommendations:__\n    * Since this module changes the Node.js convention of how non-relative modules are resolved, it is recommended (but not required) to put all app modules in a common directory below the application root (such as `my-app/src` or `my-app/app_modules`) and then to add the application root to the search path. The require calls would then be something like `require('src/foo')` or `require('app_modules/foo')`. The common prefix makes it more clear that the module can be found in the application's modules directory and not in the `node_modules` directory.\n\n\n## Contribute\nPull requests, bug reports and feature requests welcome.\n\n## License\n\nBSD-2-Clause\n","_attachments":{},"homepage":"https://github.com/patrick-steele-idem/app-module-path-node","bugs":{"url":"https://github.com/patrick-steele-idem/app-module-path-node/issues"},"license":"BSD-2-Clause"}