{"_id":"module-alias","_rev":"42811990","name":"module-alias","description":"Create aliases of directories and register custom module paths","dist-tags":{"latest":"2.2.2"},"maintainers":[{"name":"ilearnio","email":"artnikpro@gmail.com"}],"time":{"modified":"2019-10-01T11:26:58.000Z","created":"2016-02-20T15:23:31.900Z","2.2.2":"2019-10-01T11:26:43.884Z","2.2.1":"2019-07-30T09:33:12.794Z","2.2.0":"2019-02-13T10:36:31.673Z","2.1.0":"2018-06-14T07:51:08.434Z","2.0.6":"2018-02-12T07:52:50.415Z","2.0.5":"2018-02-12T07:51:00.720Z","2.0.4":"2018-02-12T07:47:30.330Z","2.0.3":"2017-11-22T12:05:26.252Z","2.0.2":"2017-10-27T08:52:25.281Z","2.0.1":"2017-07-28T09:50:43.563Z","2.0.0":"2016-11-07T17:01:24.929Z","1.0.10":"2016-06-07T15:03:36.882Z","1.0.9":"2016-06-06T18:48:03.181Z","1.0.8":"2016-04-25T13:54:32.343Z","1.0.7":"2016-04-25T13:45:39.856Z","1.0.6":"2016-04-25T12:45:40.543Z","1.0.5":"2016-03-16T12:01:45.161Z","1.0.4":"2016-03-16T11:36:16.468Z","1.0.3":"2016-02-20T17:02:01.267Z","1.0.2":"2016-02-20T16:06:49.713Z","1.0.1":"2016-02-20T15:30:06.459Z","1.0.0":"2016-02-20T15:23:31.900Z"},"users":{"boris-yippie":true,"chamini2":true,"joaquin.briceno":true,"ilearnio":true,"gvost":true,"michaelyurin":true,"samar":true,"banyudu":true,"planir":true,"andreaspizsa":true,"jk6":true,"rahulraghavankklm":true,"edob":true,"ridermansb":true,"mazhuravlev":true,"yanghcc":true,"drveresh":true},"author":{"name":"Nick Gavrilov","email":"artnikpro@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/ilearnio/module-alias.git"},"versions":{"2.2.2":{"name":"module-alias","description":"Create aliases of directories and register custom module paths","version":"2.2.2","author":{"name":"Nick Gavrilov","email":"artnikpro@gmail.com"},"scripts":{"test":"npm run lint && npm run testonly","testonly":"NODE_ENV=test mocha test/specs.js","testonly-watch":"NODE_ENV=test mocha -w test/specs.js","lint":"standard"},"bugs":{"url":"https://github.com/ilearnio/module-alias/issues"},"homepage":"https://github.com/ilearnio/module-alias","keywords":["extend","modules","node","path","resolve"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git+https://github.com/ilearnio/module-alias.git"},"devDependencies":{"chai":"^3.5.0","hello-world-classic":"github:ilearnio/hello-world-classic","husky":"^3.0.2","mocha":"^2.4.5","semver":"^6.1.1","standard":"^12.0.1"},"husky":{"hooks":{"pre-push":"npm run test"}},"gitHead":"c82d4bbcb6677d8abcf2cd4446b4f03e6e2feff4","_id":"module-alias@2.2.2","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"ilearnio","email":"artnikpro@gmail.com"},"dist":{"shasum":"151cdcecc24e25739ff0aa6e51e1c5716974c0e0","size":5087,"noattachment":false,"tarball":"https://registry.npm.taobao.org/module-alias/download/module-alias-2.2.2.tgz"},"maintainers":[{"name":"ilearnio","email":"artnikpro@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/module-alias_2.2.2_1569929203712_0.2865338935568946"},"_hasShrinkwrap":false,"publish_time":1569929203884,"_cnpm_publish_time":1569929203884},"2.2.1":{"name":"module-alias","description":"Create aliases of directories and register custom module paths","version":"2.2.1","author":{"name":"Nick Gavrilov","email":"artnikpro@gmail.com"},"scripts":{"test":"npm run lint && npm run testonly","testonly":"NODE_ENV=test mocha test/specs.js","testonly-watch":"NODE_ENV=test mocha -w test/specs.js","lint":"standard","lint-test":"npm run lint && npm run test"},"bugs":{"url":"https://github.com/ilearnio/module-alias/issues"},"homepage":"https://github.com/ilearnio/module-alias","keywords":["extend","modules","node","path","resolve"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git+https://github.com/ilearnio/module-alias.git"},"devDependencies":{"chai":"^3.5.0","hello-world-classic":"github:ilearnio/hello-world-classic","husky":"^3.0.2","mocha":"^2.4.5","semver":"^6.1.1","standard":"^12.0.1"},"husky":{"hooks":{"pre-push":"npm run lint-test"}},"gitHead":"e4d0a5b73041b14e9a107269ffe61b5503eafb67","_id":"module-alias@2.2.1","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"ilearnio","email":"artnikpro@gmail.com"},"dist":{"shasum":"553aea9dc7f99cd45fd75e34a574960dc46550da","size":5035,"noattachment":false,"tarball":"https://registry.npm.taobao.org/module-alias/download/module-alias-2.2.1.tgz"},"maintainers":[{"name":"ilearnio","email":"artnikpro@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/module-alias_2.2.1_1564479192651_0.25126054660855"},"_hasShrinkwrap":false,"publish_time":1564479192794,"_cnpm_publish_time":1564479192794},"2.2.0":{"name":"module-alias","description":"Create aliases of directories and register custom module paths","version":"2.2.0","author":{"name":"Nick Gavrilov","email":"artnikpro@gmail.com"},"scripts":{"test":"npm run lint && npm run testonly","testonly":"NODE_ENV=test mocha test/specs.js","testonly-watch":"NODE_ENV=test mocha -w test/specs.js","lint":"standard"},"bugs":{"url":"https://github.com/ilearnio/module-alias/issues"},"homepage":"https://github.com/ilearnio/module-alias","keywords":["extend","modules","node","path","resolve"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git+https://github.com/ilearnio/module-alias.git"},"devDependencies":{"chai":"^3.5.0","hello-world-classic":"github:ilearnio/hello-world-classic","mocha":"^2.4.5","standard":"^12.0.1"},"gitHead":"6d26835d7f5b667131d87d2958b49dcde5fa4ce6","_id":"module-alias@2.2.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"ilearnio","email":"artnikpro@gmail.com"},"dist":{"shasum":"a2e32275381642252bf0c51405f7a09a367479b5","size":4907,"noattachment":false,"tarball":"https://registry.npm.taobao.org/module-alias/download/module-alias-2.2.0.tgz"},"maintainers":[{"name":"ilearnio","email":"artnikpro@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/module-alias_2.2.0_1550054191584_0.9931534871825132"},"_hasShrinkwrap":false,"publish_time":1550054191673,"_cnpm_publish_time":1550054191673},"2.1.0":{"name":"module-alias","description":"Create aliases of directories and register custom module paths","version":"2.1.0","author":{"name":"Nick Gavrilov","email":"artnikpro@gmail.com"},"scripts":{"test":"npm run lint && npm run testonly","testonly":"NODE_ENV=test mocha test/specs.js","testonly-watch":"NODE_ENV=test mocha -w test/specs.js","lint":"standard src"},"bugs":{"url":"https://github.com/ilearnio/module-alias/issues"},"homepage":"https://github.com/ilearnio/module-alias","keywords":["extend","modules","node","path","resolve"],"license":"MIT","main":"index.js","files":["index.js","register.js","README.md","LICENSE"],"repository":{"type":"git","url":"git+https://github.com/ilearnio/module-alias.git"},"devDependencies":{"chai":"^3.5.0","hello-world-classic":"ilearnio/hello-world-classic","mocha":"^2.4.5"},"licenseText":"The MIT License (MIT)\n\nCopyright (c) 2018, Nick Gavrilov\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.","_id":"module-alias@2.1.0","dist":{"shasum":"c36d4fd15f7f9d7112f62fa015385e7b65a286c1","size":4954,"noattachment":false,"tarball":"https://registry.npm.taobao.org/module-alias/download/module-alias-2.1.0.tgz"},"maintainers":[{"name":"ilearnio","email":"artnikpro@gmail.com"}],"_npmUser":{"name":"ilearnio","email":"artnikpro@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/module-alias_2.1.0_1528962668364_0.23392236715998416"},"_hasShrinkwrap":false,"publish_time":1528962668434,"_cnpm_publish_time":1528962668434},"2.0.6":{"name":"module-alias","description":"Create aliases of directories and register custom module paths in NodeJS like a boss!","version":"2.0.6","author":{"name":"Nick Gavrilov","email":"artnikpro@gmail.com"},"scripts":{"test":"npm run lint && npm run testonly","testonly":"NODE_ENV=test mocha test/specs.js","testonly-watch":"NODE_ENV=test mocha -w test/specs.js","lint":"standard src"},"bugs":{"url":"https://github.com/ilearnio/module-alias/issues"},"homepage":"https://github.com/ilearnio/module-alias","keywords":["extend","modules","node","path","resolve"],"license":"MIT","main":"index.js","files":["index.js","register.js","README.md","LICENSE"],"repository":{"type":"git","url":"git+https://github.com/ilearnio/module-alias.git"},"dependencies":{},"devDependencies":{"chai":"^3.5.0","hello-world-classic":"github:ilearnio/hello-world-classic","mocha":"^2.4.5"},"gitHead":"2e40855af0a74719181a816f34a4a3f6d1232472","_id":"module-alias@2.0.6","_shasum":"abb2cfa07014f503514ad5061c6f03d79b591889","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.5","_npmUser":{"name":"ilearnio","email":"artnikpro@gmail.com"},"dist":{"shasum":"abb2cfa07014f503514ad5061c6f03d79b591889","size":4395,"noattachment":false,"tarball":"https://registry.npm.taobao.org/module-alias/download/module-alias-2.0.6.tgz"},"maintainers":[{"name":"ilearnio","email":"artnikpro@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/module-alias_2.0.6_1518421969594_0.1422169280035397"},"_hasShrinkwrap":false,"publish_time":1518421970415,"_cnpm_publish_time":1518421970415},"2.0.5":{"name":"module-alias","description":"Create aliases of directories and register custom module paths in NodeJS like a boss!","version":"2.0.5","author":{"name":"Nick Gavrilov","email":"artnikpro@gmail.com"},"scripts":{"test":"npm run lint && npm run testonly","testonly":"NODE_ENV=test mocha test/specs.js","testonly-watch":"NODE_ENV=test mocha -w test/specs.js","lint":"standard src"},"bugs":{"url":"https://github.com/ilearnio/module-alias/issues"},"homepage":"https://github.com/ilearnio/module-alias","keywords":["extend","modules","node","path","resolve"],"license":"MIT","main":"index.js","files":["index.js","register.js","README.md"],"repository":{"type":"git","url":"git+https://github.com/ilearnio/module-alias.git"},"dependencies":{},"devDependencies":{"chai":"^3.5.0","hello-world-classic":"github:ilearnio/hello-world-classic","mocha":"^2.4.5"},"gitHead":"c002f5224aeb087808f844fec9a8fa45c75d2721","_id":"module-alias@2.0.5","_shasum":"e68b9edbb44351a1b2ec5afd543c4e1736c73f4e","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.5","_npmUser":{"name":"ilearnio","email":"artnikpro@gmail.com"},"dist":{"shasum":"e68b9edbb44351a1b2ec5afd543c4e1736c73f4e","size":4387,"noattachment":false,"tarball":"https://registry.npm.taobao.org/module-alias/download/module-alias-2.0.5.tgz"},"maintainers":[{"name":"ilearnio","email":"artnikpro@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/module-alias_2.0.5_1518421860102_0.009337868141376715"},"_hasShrinkwrap":false,"publish_time":1518421860720,"_cnpm_publish_time":1518421860720},"2.0.4":{"name":"module-alias","description":"Create aliases of directories and register custom module paths in NodeJS like a boss!","version":"2.0.4","author":{"name":"Nick Gavrilov","email":"artnikpro@gmail.com"},"scripts":{"test":"npm run lint && npm run testonly","testonly":"NODE_ENV=test mocha test/specs.js","testonly-watch":"NODE_ENV=test mocha -w test/specs.js","lint":"standard src"},"bugs":{"url":"https://github.com/ilearnio/module-alias/issues"},"homepage":"https://github.com/ilearnio/module-alias","keywords":["extend","modules","node","path","resolve"],"license":"MIT","main":"index.js","files":["index.js","register.js","README.md"],"repository":{"type":"git","url":"git+https://github.com/ilearnio/module-alias.git"},"dependencies":{},"devDependencies":{"chai":"^3.5.0","hello-world-classic":"github:ilearnio/hello-world-classic","mocha":"^2.4.5"},"gitHead":"d74cd7d5297891aca279b5429e0867848565c186","_id":"module-alias@2.0.4","_shasum":"4ded9e899213700453daffb8505b4b498fa3b05d","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.5","_npmUser":{"name":"ilearnio","email":"artnikpro@gmail.com"},"dist":{"shasum":"4ded9e899213700453daffb8505b4b498fa3b05d","size":4390,"noattachment":false,"tarball":"https://registry.npm.taobao.org/module-alias/download/module-alias-2.0.4.tgz"},"maintainers":[{"name":"ilearnio","email":"artnikpro@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/module-alias_2.0.4_1518421649060_0.011732904325931104"},"_hasShrinkwrap":false,"publish_time":1518421650330,"_cnpm_publish_time":1518421650330},"2.0.3":{"name":"module-alias","description":"Create aliases of directories and register custom module paths in NodeJS like a boss!","version":"2.0.3","author":{"name":"Nick Gavrilov","email":"artnikpro@gmail.com"},"scripts":{"test":"npm run lint && npm run testonly","testonly":"NODE_ENV=test mocha test/specs.js","testonly-watch":"NODE_ENV=test mocha -w test/specs.js","lint":"standard src"},"bugs":{"url":"https://github.com/ilearnio/module-alias/issues"},"homepage":"https://github.com/ilearnio/module-alias","keywords":["extend","modules","node","path","resolve"],"license":"MIT","main":"index.js","files":["index.js","register.js","README.md"],"repository":{"type":"git","url":"git+https://github.com/ilearnio/module-alias.git"},"dependencies":{},"devDependencies":{"chai":"^3.5.0","hello-world-classic":"github:ilearnio/hello-world-classic","mocha":"^2.4.5"},"gitHead":"13bf637aacfa5f2ddc31e114de6bdd6aa4a2dd82","_id":"module-alias@2.0.3","_npmVersion":"5.3.0","_nodeVersion":"8.0.0","_npmUser":{"name":"ilearnio","email":"artnikpro@gmail.com"},"dist":{"shasum":"d1aa64b594588f8e76203cd2782045438cad3ef5","size":3701,"noattachment":false,"tarball":"https://registry.npm.taobao.org/module-alias/download/module-alias-2.0.3.tgz"},"maintainers":[{"name":"ilearnio","email":"artnikpro@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/module-alias-2.0.3.tgz_1511352325342_0.65205905912444"},"directories":{},"publish_time":1511352326252,"_cnpm_publish_time":1511352326252,"_hasShrinkwrap":false},"2.0.2":{"name":"module-alias","description":"Create aliases of directories and register custom module paths in NodeJS like a boss!","version":"2.0.2","author":{"name":"Nick Gavrilov","email":"artnikpro@gmail.com"},"scripts":{"test":"npm run lint && npm run testonly","testonly":"NODE_ENV=test mocha test/specs.js","testonly-watch":"NODE_ENV=test mocha -w test/specs.js","lint":"standard src"},"bugs":{"url":"https://github.com/ilearnio/module-alias/issues"},"homepage":"https://github.com/ilearnio/module-alias","keywords":["extend","modules","node","path","resolve"],"license":"MIT","main":"index.js","files":["index.js","register.js","README.md"],"repository":{"type":"git","url":"git+https://github.com/ilearnio/module-alias.git"},"dependencies":{},"devDependencies":{"chai":"^3.5.0","hello-world-classic":"github:ilearnio/hello-world-classic","mocha":"^2.4.5"},"gitHead":"579459aefa3f243570faa117dcb57cbbb0c502c1","_id":"module-alias@2.0.2","_npmVersion":"5.3.0","_nodeVersion":"8.0.0","_npmUser":{"name":"ilearnio","email":"artnikpro@gmail.com"},"dist":{"shasum":"6af6b3a638a4b5460ddd6bc7705ce7b4cb27c9a5","size":3671,"noattachment":false,"tarball":"https://registry.npm.taobao.org/module-alias/download/module-alias-2.0.2.tgz"},"maintainers":[{"name":"ilearnio","email":"artnikpro@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/module-alias-2.0.2.tgz_1509094344303_0.11844326974824071"},"directories":{},"publish_time":1509094345281,"_cnpm_publish_time":1509094345281,"_hasShrinkwrap":false},"2.0.1":{"name":"module-alias","description":"Create aliases of directories and register custom module paths in NodeJS like a boss!","version":"2.0.1","author":{"name":"Nick Gavrilov","email":"artnikpro@gmail.com"},"scripts":{"test":"npm run lint && npm run testonly","testonly":"NODE_ENV=test mocha test/specs.js","testonly-watch":"NODE_ENV=test mocha -w test/specs.js","lint":"standard src"},"bugs":{"url":"https://github.com/ilearnio/module-alias/issues"},"homepage":"https://github.com/ilearnio/module-alias","keywords":["extend","modules","node","path","resolve"],"license":"MIT","main":"index.js","files":["index.js","register.js","README.md"],"repository":{"type":"git","url":"git+https://github.com/ilearnio/module-alias.git"},"dependencies":{},"devDependencies":{"chai":"^3.5.0","hello-world-classic":"github:ilearnio/hello-world-classic","mocha":"^2.4.5"},"gitHead":"4763785d63b99f99210cbdbd170fce2585a48ff7","_id":"module-alias@2.0.1","_npmVersion":"5.3.0","_nodeVersion":"8.0.0","_npmUser":{"name":"ilearnio","email":"artnikpro@gmail.com"},"dist":{"shasum":"7562c0fe839f195ac809292624634ba7c453aecb","size":3637,"noattachment":false,"tarball":"https://registry.npm.taobao.org/module-alias/download/module-alias-2.0.1.tgz"},"maintainers":[{"name":"ilearnio","email":"artnikpro@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/module-alias-2.0.1.tgz_1501235442589_0.6193580608814955"},"directories":{},"publish_time":1501235443563,"_hasShrinkwrap":false,"_cnpm_publish_time":1501235443563},"2.0.0":{"name":"module-alias","description":"Create aliases of directories and register custom module paths in NodeJS like a boss!","version":"2.0.0","author":{"name":"Nick Gavrilov","email":"artnikpro@gmail.com"},"scripts":{"test":"npm run lint && npm run testonly","testonly":"NODE_ENV=test mocha test/specs.js","testonly-watch":"NODE_ENV=test mocha -w test/specs.js","lint":"standard src"},"bugs":{"url":"https://github.com/ilearnio/module-alias/issues"},"homepage":"https://github.com/ilearnio/module-alias","keywords":["extend","modules","node","path","resolve"],"license":"MIT","main":"index.js","files":["index.js","register.js","README.md"],"repository":{"type":"git","url":"git+https://github.com/ilearnio/module-alias.git"},"dependencies":{},"devDependencies":{"chai":"^3.5.0","hello-world-classic":"github:ilearnio/hello-world-classic","mocha":"^2.4.5"},"gitHead":"3bc8a84c4257d6e4b3c18b2798048d40270539ef","_id":"module-alias@2.0.0","_shasum":"9bff2cba6eb181dac8e379d69fe34b066a970988","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"ilearnio","email":"artnikpro@gmail.com"},"dist":{"shasum":"9bff2cba6eb181dac8e379d69fe34b066a970988","size":3529,"noattachment":false,"tarball":"https://registry.npm.taobao.org/module-alias/download/module-alias-2.0.0.tgz"},"maintainers":[{"name":"ilearnio","email":"artnikpro@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/module-alias-2.0.0.tgz_1478538084360_0.8934540206100792"},"directories":{},"publish_time":1478538084929,"_cnpm_publish_time":1478538084929,"_hasShrinkwrap":false},"1.0.10":{"name":"module-alias","description":"Create aliases of directories and register custom module paths in NodeJS like a boss!","version":"1.0.10","author":{"name":"Nikita Gavrilov","email":"artnikpro@gmail.com"},"scripts":{"test":"npm run lint && npm run testonly","testonly":"NODE_ENV=test mocha test/specs.js","testonly-watch":"NODE_ENV=test mocha -w test/specs.js","lint":"standard src"},"bugs":{"url":"https://github.com/ilearnio/module-alias/issues"},"homepage":"https://github.com/ilearnio/module-alias","keywords":["extend","modules","node","path","resolve"],"license":"MIT","main":"index.js","files":["index.js","register.js","README.md"],"repository":{"type":"git","url":"git+https://github.com/ilearnio/module-alias.git"},"dependencies":{},"devDependencies":{"chai":"^3.5.0","hello-world-classic":"github:ilearnio/hello-world-classic","mocha":"^2.4.5"},"gitHead":"5656d67b0d13aa404599db0921047ee7aeb90bb7","_id":"module-alias@1.0.10","_shasum":"9f1aee7cb5c917178090a3eb2dd0482f5cd6eec3","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.1","_npmUser":{"name":"ilearnio","email":"artnikpro@gmail.com"},"dist":{"shasum":"9f1aee7cb5c917178090a3eb2dd0482f5cd6eec3","size":1876,"noattachment":false,"tarball":"https://registry.npm.taobao.org/module-alias/download/module-alias-1.0.10.tgz"},"maintainers":[{"name":"ilearnio","email":"artnikpro@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/module-alias-1.0.10.tgz_1465311814427_0.3507621001917869"},"directories":{},"publish_time":1465311816882,"_cnpm_publish_time":1465311816882,"_hasShrinkwrap":false},"1.0.9":{"name":"module-alias","description":"Create aliases of directories and register custom module paths in NodeJS like a boss!","version":"1.0.9","author":{"name":"Nikita Gavrilov","email":"artnikpro@gmail.com"},"scripts":{"test":"npm run lint && npm run testonly","testonly":"NODE_ENV=test mocha test/specs.js","testonly-watch":"NODE_ENV=test mocha -w test/specs.js","lint":"standard src"},"bugs":{"url":"https://github.com/ilearnio/module-alias/issues"},"homepage":"https://github.com/ilearnio/module-alias","keywords":["extend","modules","node","path","resolve"],"license":"MIT","main":"index.js","files":["index.js","register.js","README.md"],"repository":{"type":"git","url":"git+https://github.com/ilearnio/module-alias.git"},"dependencies":{},"devDependencies":{"chai":"^3.5.0","hello-world-classic":"github:ilearnio/hello-world-classic","mocha":"^2.4.5"},"gitHead":"4604e74b9e27d29e3c6008cd113bb268c1f83ac2","_id":"module-alias@1.0.9","_shasum":"ef4e27dd1870b3cde58e8c0d5c442c76f9bda32f","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.1","_npmUser":{"name":"ilearnio","email":"artnikpro@gmail.com"},"dist":{"shasum":"ef4e27dd1870b3cde58e8c0d5c442c76f9bda32f","size":1871,"noattachment":false,"tarball":"https://registry.npm.taobao.org/module-alias/download/module-alias-1.0.9.tgz"},"maintainers":[{"name":"ilearnio","email":"artnikpro@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/module-alias-1.0.9.tgz_1465238881468_0.3139443623367697"},"directories":{},"publish_time":1465238883181,"_cnpm_publish_time":1465238883181,"_hasShrinkwrap":false},"1.0.8":{"name":"module-alias","description":"Create aliases of directories and register custom module paths in NodeJS like a boss!","version":"1.0.8","author":{"name":"Nikita Gavrilov","email":"artnikpro@gmail.com"},"scripts":{"test":"npm run lint && npm run testonly","testonly":"NODE_ENV=test mocha test/specs.js","testonly-watch":"NODE_ENV=test mocha -w test/specs.js","lint":"standard src"},"bugs":{"url":"https://github.com/ilearnio/module-alias/issues"},"homepage":"https://github.com/ilearnio/module-alias","keywords":["extend","modules","node","path","resolve"],"license":"MIT","main":"index.js","files":["index.js","register.js","README.md"],"repository":{"type":"git","url":"git+https://github.com/ilearnio/module-alias.git"},"dependencies":{},"devDependencies":{"chai":"^3.5.0","hello-world-classic":"github:ilearnio/hello-world-classic","mocha":"^2.4.5"},"gitHead":"37e86a74163ab410aafe58aaa88ba209225d6c7e","_id":"module-alias@1.0.8","_shasum":"dbbe7833d844ad3e26c1ebfc5e6818f494a59b9d","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.9.0","_npmUser":{"name":"ilearnio","email":"artnikpro@gmail.com"},"dist":{"shasum":"dbbe7833d844ad3e26c1ebfc5e6818f494a59b9d","size":3350,"noattachment":false,"tarball":"https://registry.npm.taobao.org/module-alias/download/module-alias-1.0.8.tgz"},"maintainers":[{"name":"ilearnio","email":"artnikpro@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/module-alias-1.0.8.tgz_1461592469833_0.8022397931199521"},"directories":{},"publish_time":1461592472343,"_cnpm_publish_time":1461592472343,"_hasShrinkwrap":false},"1.0.7":{"name":"module-alias","description":"Create aliases of directories and register custom module paths in NodeJS like a boss!","version":"1.0.7","author":{"name":"Nikita Gavrilov","email":"artnikpro@gmail.com"},"scripts":{"test":"npm run lint && npm run testonly","testonly":"NODE_ENV=test mocha test/specs.js","testonly-watch":"NODE_ENV=test mocha -w test/specs.js","lint":"standard src"},"bugs":{"url":"https://github.com/ilearnio/module-alias/issues"},"homepage":"https://github.com/ilearnio/module-alias","keywords":["extend","modules","node","path","resolve"],"license":"MIT","main":"index.js","files":["index.js","register.js","README.md"],"repository":{"type":"git","url":"git+https://github.com/ilearnio/module-alias.git"},"dependencies":{},"devDependencies":{"chai":"^3.5.0","hello-world-classic":"github:ilearnio/hello-world-classic","mocha":"^2.4.5"},"gitHead":"1558ff2b36ff6fb969cbd52d993062db14830c5b","_id":"module-alias@1.0.7","_shasum":"c1b29c0af736c9ef000ef164a5831309e9d9430a","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.9.0","_npmUser":{"name":"ilearnio","email":"artnikpro@gmail.com"},"dist":{"shasum":"c1b29c0af736c9ef000ef164a5831309e9d9430a","size":3235,"noattachment":false,"tarball":"https://registry.npm.taobao.org/module-alias/download/module-alias-1.0.7.tgz"},"maintainers":[{"name":"ilearnio","email":"artnikpro@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/module-alias-1.0.7.tgz_1461591937375_0.5140090910717845"},"directories":{},"publish_time":1461591939856,"_cnpm_publish_time":1461591939856,"_hasShrinkwrap":false},"1.0.6":{"name":"module-alias","description":"Create aliases of directories and register custom module paths in NodeJS like a boss!","version":"1.0.6","author":{"name":"Nikita Gavrilov","email":"artnikpro@gmail.com"},"scripts":{"test":"npm run lint && npm run testonly","testonly":"NODE_ENV=test mocha test/specs.js","testonly-watch":"NODE_ENV=test mocha -w test/specs.js","lint":"standard src"},"bugs":{"url":"https://github.com/ilearnio/module-alias/issues"},"homepage":"https://github.com/ilearnio/module-alias","keywords":["extend","modules","node","path","resolve"],"license":"MIT","main":"index.js","files":["index.js","register.js","README.md"],"repository":{"type":"git","url":"git+https://github.com/ilearnio/module-alias.git"},"dependencies":{},"devDependencies":{"chai":"^3.5.0","hello-world-classic":"github:ilearnio/hello-world-classic","mocha":"^2.4.5"},"gitHead":"1369c74ebddbdbcc5494054b17dc572fbaba9985","_id":"module-alias@1.0.6","_shasum":"b1b455689d0d0e2770af704d42829b6210b46986","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.9.0","_npmUser":{"name":"ilearnio","email":"artnikpro@gmail.com"},"dist":{"shasum":"b1b455689d0d0e2770af704d42829b6210b46986","size":3226,"noattachment":false,"tarball":"https://registry.npm.taobao.org/module-alias/download/module-alias-1.0.6.tgz"},"maintainers":[{"name":"ilearnio","email":"artnikpro@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/module-alias-1.0.6.tgz_1461588338565_0.23918837658129632"},"directories":{},"publish_time":1461588340543,"_cnpm_publish_time":1461588340543,"_hasShrinkwrap":false},"1.0.5":{"name":"module-alias","description":"Create aliases of directories and register custom module paths in NodeJS like a boss!","version":"1.0.5","author":{"name":"Nikita Gavrilov","email":"artnikpro@gmail.com"},"scripts":{"test":"npm run lint && npm run testonly","testonly":"NODE_ENV=test mocha test/specs.js","testonly-watch":"NODE_ENV=test mocha -w test/specs.js","lint":"standard src"},"bugs":{"url":"https://github.com/ilearnio/module-alias/issues"},"homepage":"https://github.com/ilearnio/module-alias","keywords":["extend","modules","node","path","resolve"],"license":"MIT","main":"index.js","files":["index.js","register.js","README.md"],"repository":{"type":"git","url":"git+https://github.com/ilearnio/module-alias.git"},"dependencies":{},"devDependencies":{"chai":"^3.5.0","hello-world-classic":"github:ilearnio/hello-world-classic","mocha":"^2.4.5"},"gitHead":"00201568c6571bb3ef6e279cabd5edfc601ba057","_id":"module-alias@1.0.5","_shasum":"0e8bb7e1e3a4eaeb57fa073728cd2e2c2fc28482","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.6.0","_npmUser":{"name":"ilearnio","email":"artnikpro@gmail.com"},"dist":{"shasum":"0e8bb7e1e3a4eaeb57fa073728cd2e2c2fc28482","size":3185,"noattachment":false,"tarball":"https://registry.npm.taobao.org/module-alias/download/module-alias-1.0.5.tgz"},"maintainers":[{"name":"ilearnio","email":"artnikpro@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/module-alias-1.0.5.tgz_1458129702813_0.5875232515390962"},"directories":{},"publish_time":1458129705161,"_cnpm_publish_time":1458129705161,"_hasShrinkwrap":false},"1.0.4":{"name":"module-alias","description":"Simple module for registering aliases of directories and custom module paths","version":"1.0.4","author":{"name":"Nikita Gavrilov","email":"artnikpro@gmail.com"},"scripts":{"test":"npm run lint && npm run testonly","testonly":"NODE_ENV=test mocha test/specs.js","testonly-watch":"NODE_ENV=test mocha -w test/specs.js","lint":"standard src"},"bugs":{"url":"https://github.com/ilearnio/module-alias/issues"},"homepage":"https://github.com/ilearnio/module-alias","keywords":["extend","modules","node","path","resolve"],"license":"MIT","main":"index.js","files":["index.js","register.js","README.md"],"repository":{"type":"git","url":"git+https://github.com/ilearnio/module-alias.git"},"dependencies":{},"devDependencies":{"chai":"^3.5.0","hello-world-classic":"github:ilearnio/hello-world-classic","mocha":"^2.4.5"},"gitHead":"fff7af78e63b7bf4a979f5e15864c1ef7686a8a1","_id":"module-alias@1.0.4","_shasum":"df9bc844bd0dac648f06e9b0102225b3ad677d32","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.6.0","_npmUser":{"name":"ilearnio","email":"artnikpro@gmail.com"},"dist":{"shasum":"df9bc844bd0dac648f06e9b0102225b3ad677d32","size":3021,"noattachment":false,"tarball":"https://registry.npm.taobao.org/module-alias/download/module-alias-1.0.4.tgz"},"maintainers":[{"name":"ilearnio","email":"artnikpro@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/module-alias-1.0.4.tgz_1458128174258_0.25028392975218594"},"directories":{},"publish_time":1458128176468,"_cnpm_publish_time":1458128176468,"_hasShrinkwrap":false},"1.0.3":{"name":"module-alias","description":"Simple module for registering aliases of directories and custom module paths","version":"1.0.3","author":{"name":"Nikita Gavrilov","email":"artnikpro@gmail.com"},"scripts":{"test":"npm run lint && npm run testonly","testonly":"mocha test/specs.js","lint":"eslint src"},"bugs":{"url":"https://github.com/ilearnio/module-alias/issues"},"homepage":"https://github.com/ilearnio/module-alias","keywords":["extend","modules","node","path","resolve"],"license":"MIT","main":"index.js","files":["index.js","register.js","README.md"],"repository":{"type":"git","url":"git+https://github.com/ilearnio/module-alias.git"},"dependencies":{},"devDependencies":{"chai":"^3.5.0","eslint":"^1.1.0","mocha":"^2.4.5"},"gitHead":"55cc767f665272532fa1b761f673fe28e134d7bc","_id":"module-alias@1.0.3","_shasum":"4fa2d3b3c1455e7a6ddf310f74411fe35dc0e6f2","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"ilearnio","email":"artnikpro@gmail.com"},"dist":{"shasum":"4fa2d3b3c1455e7a6ddf310f74411fe35dc0e6f2","size":2963,"noattachment":false,"tarball":"https://registry.npm.taobao.org/module-alias/download/module-alias-1.0.3.tgz"},"maintainers":[{"name":"ilearnio","email":"artnikpro@gmail.com"}],"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/module-alias-1.0.3.tgz_1455987716131_0.28396533499471843"},"directories":{},"publish_time":1455987721267,"_cnpm_publish_time":1455987721267,"_hasShrinkwrap":false},"1.0.2":{"name":"module-alias","description":"Simple module for registering aliases of directories and custom module paths","version":"1.0.2","author":{"name":"Nikita Gavrilov"},"scripts":{"test":"npm run lint && npm run testonly","testonly":"mocha test/specs.js","lint":"eslint src"},"bugs":{"url":"https://github.com/ilearnio/module-alias/issues"},"homepage":"https://github.com/ilearnio/module-alias","keywords":["extend","modules","node","path","resolve"],"license":"MIT","main":"index.js","files":["index.js","register.js","README.md"],"repository":{"type":"git","url":"git+https://github.com/ilearnio/module-alias.git"},"dependencies":{},"devDependencies":{"chai":"^3.5.0","eslint":"^1.1.0","mocha":"^2.4.5"},"gitHead":"ca4438349c78dd7ab7dc23cd2638f1f980afc27c","_id":"module-alias@1.0.2","_shasum":"69d1507e92557279047c2ac723ac8cd8d8fb8e27","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.6.0","_npmUser":{"name":"ilearnio","email":"artnikpro@gmail.com"},"dist":{"shasum":"69d1507e92557279047c2ac723ac8cd8d8fb8e27","size":2779,"noattachment":false,"tarball":"https://registry.npm.taobao.org/module-alias/download/module-alias-1.0.2.tgz"},"maintainers":[{"name":"ilearnio","email":"artnikpro@gmail.com"}],"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/module-alias-1.0.2.tgz_1455984406890_0.2559582118410617"},"directories":{},"publish_time":1455984409713,"_cnpm_publish_time":1455984409713,"_hasShrinkwrap":false},"1.0.1":{"name":"module-alias","description":"Simple module for registering aliases of directories and custom module paths","version":"1.0.1","author":{"name":"Nikita Gavrilov"},"scripts":{"test":"npm run lint && npm run testonly","testonly":"mocha $npm_package_options_mocha","lint":"eslint src"},"bugs":{"url":"https://github.com/ilearnio/module-alias/issues"},"homepage":"https://github.com/ilearnio/module-alias","keywords":["extend","modules","node","path","resolve"],"license":"MIT","main":"index.js","files":["index.js","register.js","README.md"],"repository":{"type":"git","url":"git+https://github.com/ilearnio/module-alias.git"},"dependencies":{},"devDependencies":{"chai":"^3.5.0","eslint":"^1.1.0","mocha":"^2.4.5"},"gitHead":"180a92fcbb01b4657d48616171abc55ca505ec1b","_id":"module-alias@1.0.1","_shasum":"db5668512a725e769fcd014c67b51b84afea73f2","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.6.0","_npmUser":{"name":"ilearnio","email":"artnikpro@gmail.com"},"dist":{"shasum":"db5668512a725e769fcd014c67b51b84afea73f2","size":2801,"noattachment":false,"tarball":"https://registry.npm.taobao.org/module-alias/download/module-alias-1.0.1.tgz"},"maintainers":[{"name":"ilearnio","email":"artnikpro@gmail.com"}],"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/module-alias-1.0.1.tgz_1455982203535_0.5494045545347035"},"directories":{},"publish_time":1455982206459,"_cnpm_publish_time":1455982206459,"_hasShrinkwrap":false},"1.0.0":{"name":"module-alias","description":"Simple module for registering aliases of directories and custom module paths","version":"1.0.0","author":{"name":"Nikita Gavrilov"},"scripts":{"test":"npm run lint && npm run testonly","testonly":"mocha $npm_package_options_mocha","lint":"eslint src"},"bugs":{"url":"https://github.com/ilearnio/module-alias/issues"},"homepage":"https://github.com/ilearnio/module-alias","keywords":["extend","modules","node","path","resolve"],"license":"MIT","main":"index.js","files":["index.js","register.js","README.md"],"repository":{"type":"git","url":"git+https://github.com/ilearnio/module-alias.git"},"dependencies":{},"devDependencies":{"chai":"^3.5.0","eslint":"^1.1.0","mocha":"^2.4.5"},"gitHead":"452e4375f24d59f5074cd8cd883d7c9256d379ab","_id":"module-alias@1.0.0","_shasum":"5dd118427018c6055f513ed38633cfe12fe0c21d","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.6.0","_npmUser":{"name":"ilearnio","email":"artnikpro@gmail.com"},"dist":{"shasum":"5dd118427018c6055f513ed38633cfe12fe0c21d","size":2804,"noattachment":false,"tarball":"https://registry.npm.taobao.org/module-alias/download/module-alias-1.0.0.tgz"},"maintainers":[{"name":"ilearnio","email":"artnikpro@gmail.com"}],"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/module-alias-1.0.0.tgz_1455981808980_0.3481431850232184"},"directories":{},"publish_time":1455981811900,"_cnpm_publish_time":1455981811900,"_hasShrinkwrap":false}},"readme":"# module-alias\n[![NPM Version][npm-image]][npm-url]\n[![Build Status][travis-image]][travis-url]\n\nCreate aliases of directories and register custom module paths in NodeJS like a boss!\n\nNo more shit-coding paths in Node like so:\n\n```js\nrequire('../../../../some/very/deep/module')\n```\nEnough of this madness!\n\nJust create an alias and do it the right way:\n\n```js\nvar module = require('@deep/module')\n// Or ES6\nimport module from '@deep/module'\n```\n\nIt also allows you to register directories that will act just like `node_modules` but with your own private modules, so that you can access them directly:\n\n```js\nrequire('my_private_module');\n// Or ES6\nimport module from 'my_private_module'\n```\n\n**WARNING:** This module should not be used in other npm modules since it modifies the default `require` behavior! It is designed to be used for development of final projects i.e. web-sites, applications etc.\n\n## Install\n\n```\nnpm i --save module-alias\n```\n\n## Usage\n\nAdd your custom configuration to your `package.json` (in your application's root)\n\n```js\n// Aliases\n\"_moduleAliases\": {\n \"@root\" : \".\", // Application's root\n \"@deep\" : \"src/some/very/deep/directory/or/file\",\n \"@my_module\" : \"lib/some-file.js\",\n \"something\" : \"src/foo\", // Or without @. Actually, it could be any string\n}\n\n// Custom module directories, just like `node_modules` but with your private modules (optional)\n\"_moduleDirectories\": [\"node_modules_custom\"],\n```\n\nThen add this line at the very main file of your app, before any code\n\n```js\nrequire('module-alias/register')\n```\n\n**And you're all set!** Now you can do stuff like:\n\n```js\nrequire('something')\nconst module = require('@root/some-module')\nconst veryDeepModule = require('@deep/my-module')\nconst customModule = require('my_private_module') // module from `node_modules_custom` directory\n\n// Or ES6\nimport 'something'\nimport module from '@root/some-module'\nimport veryDeepModule from '@deep/my-module'\nimport customModule from 'my_private_module' // module from `node_modules_custom` directory\n```\n\n## Advanced usage\n\nIf you don't want to modify your `package.json` or you just prefer to set it all up programmatically, then the following methods are available for you:\n\n* `addAlias('alias', 'target_path')` - register a single alias\n* `addAliases({ 'alias': 'target_path', ... }) ` - register multiple aliases\n* `addPath(path)` - Register custom modules directory (like node_modules, but with your own modules)\n\n_Examples:_\n```js\nconst moduleAlias = require('module-alias')\n\n//\n// Register alias\n//\nmoduleAlias.addAlias('@client', __dirname + '/src/client')\n\n// Or multiple aliases\nmoduleAlias.addAliases({\n '@root' : __dirname,\n '@client': __dirname + '/src/client',\n ...\n})\n\n// Custom handler function (starting from v2.1)\nmoduleAlias.addAlias('@src', (fromPath, request, alias) => {\n // fromPath - Full path of the file from which `require` was called\n // request - The path (first argument) that was passed into `require`\n // alias - The same alias that was passed as first argument to `addAlias` (`@src` in this case)\n\n // Return any custom target path for the `@src` alias depending on arguments\n if (fromPath.startsWith(__dirname + '/others')) return __dirname + '/others'\n return __dirname + '/src'\n})\n\n//\n// Register custom modules directory\n//\nmoduleAlias.addPath(__dirname + '/node_modules_custom')\nmoduleAlias.addPath(__dirname + '/src')\n\n//\n// Import settings from a specific package.json\n//\nmoduleAlias(__dirname + '/package.json')\n\n// Or let module-alias to figure where your package.json is\n// located. By default it will look in the same directory\n// where you have your node_modules (application's root)\nmoduleAlias()\n```\n\n## Usage with WebPack\n\nLuckily, WebPack has a built in support for aliases and custom modules directories so it's easy to make it work on the client side as well!\n\n```js\n// webpack.config.js\nconst npm_package = require('./package.json')\n\nmodule.exports = {\n entry: { ... },\n resolve: {\n root: __dirname,\n alias: npm_package._moduleAliases || {},\n modules: npm_package._moduleDirectories || [] // eg: [\"node_modules\", \"node_modules_custom\", \"src\"]\n }\n}\n```\n\n## How it works?\n\nIn order to register an alias it modifies the internal `Module._resolveFilename` method so that when you use `require` or `import` it first checks whether the given string starts with one of the registered aliases, if so, it replaces the alias in the string with the target path of the alias.\n\nIn order to register a custom modules path (`addPath`) it modifies the internal `Module._nodeModulePaths` method so that the given directory then acts like it's the `node_modules` directory.\n\n[npm-image]: https://img.shields.io/npm/v/module-alias.svg\n[npm-url]: https://npmjs.org/package/module-alias\n[travis-image]: https://img.shields.io/travis/ilearnio/module-alias/master.svg\n[travis-url]: https://travis-ci.org/ilearnio/module-alias\n\n## Refactor your code (for already existing projects)\n\nIf you are using this on an existing project, you can use [relative-to-alias](https://github.com/s-yadav/relative-to-alias) to refactor your code to start using aliases.\n","_attachments":{},"homepage":"https://github.com/ilearnio/module-alias","bugs":{"url":"https://github.com/ilearnio/module-alias/issues"},"license":"MIT"}