{"_id":"fie-module-name","_rev":"31-ff14f194537ace63d9bb80863394ccd4","name":"fie-module-name","description":"获取模块名字的相关信息，和 前缀","dist-tags":{"latest":"3.1.4"},"versions":{"2.7.9":{"name":"fie-module-name","main":"lib/index.js","description":"获取模块名字的相关信息，和 前缀","version":"2.7.9","keywords":["nodejs","fie-module-name","fie"],"files":["lib","LICENSE"],"repository":{"type":"git","url":"git+ssh://git@github.com/fieteam/fie.git"},"author":{"name":"hugohua","email":"baofen14787@gmail.com"},"maintainers":[{"name":"hugohua","email":"baofen14787@gmail.com"}],"dependencies":{"fie-env":"^2.7.9"},"bugs":{"url":"https://github.com/fieteam/fie/issues"},"homepage":"https://github.com/fieteam/fie#readme","_id":"fie-module-name@2.7.9","scripts":{},"_shasum":"2df37f8c9fb2ff3dcefdb07cc4dfa15234d8d220","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"hugohua","email":"baofen14787@gmail.com"},"dist":{"shasum":"2df37f8c9fb2ff3dcefdb07cc4dfa15234d8d220","tarball":"https://registry.npmjs.org/fie-module-name/-/fie-module-name-2.7.9.tgz","integrity":"sha512-0EpHqSzXLC89YvbaGRpcJQOfG3+FdjdNN/cuYrVO7fSREJUISlT8dnS5AF9vNVR8+k020GpNc/igCeC/tMrKKw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDKMErGA+Jg2ipXZD+/0uSsgIC22bWUEg7yN0GNc4LgxgIhAIvCtRPQoYgOWIdvHNX+y4wfrqRamEpQ4e8xN4loy05o"}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fie-module-name-2.7.9.tgz_1507446182708_0.7868562971707433"},"directories":{}},"2.7.10":{"name":"fie-module-name","main":"lib/index.js","description":"获取模块名字的相关信息，和 前缀","version":"2.7.10","keywords":["nodejs","fie-module-name","fie"],"files":["lib","locale","LICENSE"],"repository":{"type":"git","url":"git+ssh://git@github.com/fieteam/fie.git"},"author":{"name":"hugohua","email":"baofen14787@gmail.com"},"maintainers":[{"name":"hugohua","email":"baofen14787@gmail.com"}],"dependencies":{"fie-env":"^2.7.10"},"bugs":{"url":"https://github.com/fieteam/fie/issues"},"homepage":"https://github.com/fieteam/fie#readme","_id":"fie-module-name@2.7.10","scripts":{},"_shasum":"1c4c296862b1e8db6ba0647bbb73010d8869c7c7","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"hugohua","email":"baofen14787@gmail.com"},"dist":{"shasum":"1c4c296862b1e8db6ba0647bbb73010d8869c7c7","tarball":"https://registry.npmjs.org/fie-module-name/-/fie-module-name-2.7.10.tgz","integrity":"sha512-OZmkrW9cWEGozK/oLAuBqlVVshTXHnJ+N1QAY81tHGnlF+EweT7MsFnOY9swPemR1pKEyqCb30hgxsFCwUFMfQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQChV1edBHwsSQQP0D6jDwdEpV//h6G77JobF6ig1aAvhgIhAN872MN+8CShynE4aWcR3JkeuMYOdPt0widt5pVAz1Qz"}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fie-module-name-2.7.10.tgz_1507446884691_0.9841203994583338"},"directories":{}},"3.0.1":{"name":"fie-module-name","main":"lib/index.js","description":"获取模块名字的相关信息，和 前缀","version":"3.0.1","keywords":["nodejs","fie-module-name","fie"],"files":["lib","locale","LICENSE"],"repository":{"type":"git","url":"git+ssh://git@github.com/fieteam/fie.git"},"author":{"name":"hugohua","email":"baofen14787@gmail.com"},"maintainers":[{"name":"hugohua","email":"baofen14787@gmail.com"}],"dependencies":{"fie-env":"^3.0.1"},"bugs":{"url":"https://github.com/fieteam/fie/issues"},"homepage":"https://github.com/fieteam/fie#readme","_id":"fie-module-name@3.0.1","scripts":{},"_shasum":"c3aa5402361ff3a38e0d4038d9aa2db9b908022f","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"hugohua","email":"baofen14787@gmail.com"},"dist":{"shasum":"c3aa5402361ff3a38e0d4038d9aa2db9b908022f","tarball":"https://registry.npmjs.org/fie-module-name/-/fie-module-name-3.0.1.tgz","integrity":"sha512-JnzFtKD5N62t8PcREaSTi3FRecKatphyiBOV983Qh7FtkVL2mdQzISY5CjqKtqyQy81nKXxIqrduGtXqJrsd0w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCZbi1rrPsoLoQIZKGmaOuSawXsGRbwv7LVYlc4iQnV/QIhAJAuoGcwLTqZ4xXqB7mT3z5oMa97rU+IhyQIlDlBST1T"}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fie-module-name-3.0.1.tgz_1507470552921_0.7513817795552313"},"directories":{}},"3.0.2":{"name":"fie-module-name","main":"lib/index.js","description":"获取模块名字的相关信息，和 前缀","version":"3.0.2","keywords":["nodejs","fie-module-name","fie"],"files":["lib","locale","LICENSE"],"repository":{"type":"git","url":"git+ssh://git@github.com/fieteam/fie.git"},"author":{"name":"hugohua","email":"baofen14787@gmail.com"},"maintainers":[{"name":"hugohua","email":"baofen14787@gmail.com"}],"dependencies":{"fie-env":"^3.0.1"},"bugs":{"url":"https://github.com/fieteam/fie/issues"},"homepage":"https://github.com/fieteam/fie#readme","_id":"fie-module-name@3.0.2","scripts":{},"_shasum":"9964a567b680c433550ac379c8046efe065df67a","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"hugohua","email":"baofen14787@gmail.com"},"dist":{"shasum":"9964a567b680c433550ac379c8046efe065df67a","tarball":"https://registry.npmjs.org/fie-module-name/-/fie-module-name-3.0.2.tgz","integrity":"sha512-FzJYbPns6LwzvgqjxvoyRj08GfmM3XnYU2YHNn9rg81wrAyZMhB6xm8ltIWRKGYEbfnHHrIH7TV/2Q1U3xmioA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDpjjo6hKLFYM5600biXesUQOf2acOlVtQnUQhX41IWCAiBPYnlbfBnvFAWYSN+BmlsHg15eWJ5/Tc3QU0E2kdXUPA=="}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fie-module-name-3.0.2.tgz_1507533264547_0.07372512645088136"},"directories":{}},"3.0.5":{"name":"fie-module-name","main":"lib/index.js","description":"获取模块名字的相关信息，和 前缀","version":"3.0.5","keywords":["nodejs","fie-module-name","fie"],"files":["lib","locale","LICENSE"],"repository":{"type":"git","url":"git+ssh://git@github.com/fieteam/fie.git"},"author":{"name":"hugohua","email":"baofen14787@gmail.com"},"maintainers":[{"name":"hugohua","email":"baofen14787@gmail.com"}],"dependencies":{"fie-env":"^3.0.1"},"bugs":{"url":"https://github.com/fieteam/fie/issues"},"homepage":"https://github.com/fieteam/fie#readme","_id":"fie-module-name@3.0.5","scripts":{},"_shasum":"67c3c0c83ff896b95b50e99a84f2cc845d9c8e5e","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"hugohua","email":"baofen14787@gmail.com"},"dist":{"shasum":"67c3c0c83ff896b95b50e99a84f2cc845d9c8e5e","tarball":"https://registry.npmjs.org/fie-module-name/-/fie-module-name-3.0.5.tgz","integrity":"sha512-sz3H+jBKb8VjiHQ4iGPbA4JkrdubkOKKAxqpexZa7EYFaJFvjWlpf3juLl7nwmTYk6pDFFeSawDiT4KgaXXpVQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDyzhvPKKpi3u9PkSPg2oD7wldfRybNLU884AfY+0J5MQIgEiJsF3TcYaMEU4l+PqSH+Ab7/h1JrCBDw8dxGJIyYH0="}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fie-module-name-3.0.5.tgz_1508424584620_0.5504510910250247"},"directories":{}},"3.1.2":{"name":"fie-module-name","main":"lib/index.js","description":"获取模块名字的相关信息，和 前缀","version":"3.1.2","keywords":["nodejs","fie-module-name","fie"],"files":["lib","locale","LICENSE"],"repository":{"type":"git","url":"git+ssh://git@github.com/fieteam/fie.git"},"author":{"name":"hugohua","email":"baofen14787@gmail.com"},"maintainers":[{"name":"hugohua","email":"baofen14787@gmail.com"}],"dependencies":{"fie-env":"^3.1.2"},"bugs":{"url":"https://github.com/fieteam/fie/issues"},"homepage":"https://github.com/fieteam/fie#readme","_id":"fie-module-name@3.1.2","scripts":{},"_shasum":"24c2135783d832842a95fbbc0c6ee4388fb07870","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.5","_npmUser":{"name":"hugohua","email":"baofen14787@gmail.com"},"dist":{"shasum":"24c2135783d832842a95fbbc0c6ee4388fb07870","tarball":"https://registry.npmjs.org/fie-module-name/-/fie-module-name-3.1.2.tgz","integrity":"sha512-KxMoq9bMzNKjn4cnU3FBsotRU8ZC3BEfB5OJS58iY75ikZhZ/qeTTpEtwhGKzkYkJSZPhtj0yVSXcVSNVpf0Nw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG90h2hD+qWRZIUuC5JHk1mPzezUYaS3hSgUPhLKw0f+AiEAx02guwqJPvaBq42hkqB0Ba/AwWMn2SS90kqyAKeXO4o="}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fie-module-name-3.1.2.tgz_1516979659473_0.8039768901653588"},"directories":{}},"3.1.3-0":{"name":"fie-module-name","main":"lib/index.js","description":"获取模块名字的相关信息，和 前缀","version":"3.1.3-0","keywords":["nodejs","fie-module-name","fie"],"files":["lib","locale","LICENSE"],"repository":{"type":"git","url":"git+ssh://git@github.com/fieteam/fie.git"},"author":{"name":"hugohua","email":"baofen14787@gmail.com"},"maintainers":[{"name":"hugohua","email":"baofen14787@gmail.com"}],"readmeFilename":"README.md","dependencies":{"fie-env":"^3.1.3-0"},"readme":"# fie-module\n\n[![NPM version][npm-image]][npm-url]\n[![David deps][david-image]][david-url]\n[![Known Vulnerabilities][snyk-image]][snyk-url]\n[![npm download][download-image]][download-url]\n\n[npm-image]: https://img.shields.io/npm/v/fie-module.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/fie-module\n[david-image]: https://img.shields.io/david/cnpm/npminstall.svg?style=flat-square\n[david-url]: https://david-dm.org/fieteam/fie-module\n[snyk-image]: https://snyk.io/test/npm/fie-module/badge.svg?style=flat-square\n[snyk-url]: https://snyk.io/test/npm/fie-module\n[download-image]: https://img.shields.io/npm/dm/fie-module.svg?style=flat-square\n[download-url]: https://npmjs.org/package/fie-module\n\n> fie 模块的获取、安装及卸载\n\n## 安装\n\n```\nnpm install fie-module --save\n```\n\n## API\n\n### get(name)\n\n> `Generator 函数`, 获取 fie 模块, 需要运行插件和套件都用这个方法来先获取, 如果本地尚示安装, 会自动进行安装,然后返回模块\n\n- name `{string}` 模块名, 若需要获取 package.json 信息可以直接在模块名后面跟上  `/package.json`\n- return: `{object}` modInfo 模块对象, modInfo.mod 模块对象, modInfo.options 模块的设置项.\n\n```\n// 名字会自动补齐\nconst blue = yield fieModule.get('toolkit-blue');\n// blue 为blue套件时是一个对象，下面挂载几个命令对应的函数\nyield blue.build(fieObj, {\n  clientArgs: ['index']\n});\n\n// 获取模块手 package.json 信息\nconst pkg = yield fieModule.get('toolkit-blue/package.json');\nconsole.log(pkg.fieOptions);\n```\n\n### install(name)\n\n> `Generator 函数`, 安装 FIE 模块\n\n- name `{string}` 模块名, 若需要指定版本号直接在名字后面跟上即可,如: gulp@1.0.0\n\n### unInstall(name)\n\n> `异步方法`, 卸载 FIE 模块\n\n- name `{string}` 模块名\n\n\n\n### update(name)\n\n> `Generator 函数`, 更新 FIE 模块\n\n- name `{string}` 模块名\n\n\n\n### localList(options)\n\n> 获取本地已安装的 FIE 插件和套件列表\n\n- options `{object}` 可选项\n- options.type `{string}` 类型，可以是 plugin 或 toolkit， 不传获取全部列表\n- return: `{array}` 模块列表\n\n\n\n### onlineList(options)\n\n> `Generator 函数`, 获取线上的 FIE 插件和套件列表\n\n- options `{object}` 可选项\n- options.type `{string}` 类型，可以是 plugin 或 toolkit， 不传获取全部列表\n- return: `{array}` 模块列表\n\n\n\n### localExist(name)\n\n> 判断本地是否已安装对应的 FIE 模块了\n\n- name `{string}` 模块名\n- return: `{boolean}` 是否存在\n\n\n\n### onlineExist([type])\n\n> `Generator 函数`, 判断线上是否已存在对应的 FIE 模块了\n\n- name `{string}` 模块名\n- return: `{boolean}` 模块列表\n\n### fullName(name)\n\n> 根据传入的插件或套件名称缩写,生成对应的全称\n\n- name `{string}` 缩写的名称\n- return: `{string}` 全称\n\n\n### pluginFullName(name)\n\n> 根据传入插件名称缩写,生成对应的插件全称\n\n- name `{string}` 缩写的名称\n- return: `{string}` 全称\n\n\n### toolkitFullName(name)\n\n> 根据传入套件名称缩写,生成对应套件全称\n\n- name `{string}` 缩写的名称\n- return: `{string}` 全称\n\n\n\n## Support\n\n使用过程中遇到的相关问题，及BUG反馈，可联系: hugohua <baofen14787@gmail.com> ，也可直接提[issues](https://github.com/fieteam/fie/issues/new)\n\n## License\n\n[GNU GPLv3](LICENSE)\n\n","bugs":{"url":"https://github.com/fieteam/fie/issues"},"homepage":"https://github.com/fieteam/fie#readme","_id":"fie-module-name@3.1.3-0","scripts":{},"_shasum":"b7d763d270b4384856a645f61a914421d7d97c84","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.14.1","_npmUser":{"name":"hugohua","email":"baofen14787@gmail.com"},"dist":{"shasum":"b7d763d270b4384856a645f61a914421d7d97c84","tarball":"https://registry.npmjs.org/fie-module-name/-/fie-module-name-3.1.3-0.tgz","fileCount":4,"unpackedSize":41381,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbF408CRA9TVsSAnZWagAAdsgP/io84r7o9+g7AOgXHryh\nFbM8IKHC+MZTtFTbmLNdBJ1VFsYRVbvHE6PKmDsTAlhMQomCGcMqLKDYbTsB\ncsnzIfX5WWI1KJVREgPsiE8GtAwMk7boVXGhrItQSyzEninIy3vPx2BU/J0Z\nGeryH7iI/qDnm7QCmzh9Vvn25G/N7TuHTPe3F0jtPSd3K8rACc2Ucb404XWa\n8iQ+YmdI6QWE2aO6SvWoAc04Fa6ziML+UIH1vNbNXHf6WRKlRpEdezYodRPX\nEUenGqi2HO6tTL8hRyETIaIf1i4tPpEVnmdVMD0V8s0RhS/pNwj2IiTWMKyF\nMKqW24xfkIVNq0gt0EStw/84lZ4bs6yRivNVKBs/rAs3AkGnGNMC4dXOVGfc\nRYkuX2CQZ+orepw7yOCDx46whbFv3fZPQ8176KAZlleyR/RkYQRRk93IzKxx\nBNzq9EzMLkFwrGyYXKtzKhP/g46M9HlRwtQ/qUaVs9srHK1MnWW8lyTUByk9\nbeaaz19oRUQqfJV5MRwWpfnSulnWXi/vyuwJDFpMczbIO/fMX8ZNloR9USOm\ncG+sDAXQVGJn4ioZCrnBpULJQwd/bvBiKr+lzfPlG/8LXkikmLjggy7fnyjE\nTheW+GrKrRSHKje3u3O5N31APlHwvxuxBVyMqSbFLa0/Iw9eylD99NrfKiQD\nT/YK\r\n=FHEI\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-GxAF2PW4DfK6g0xn75g3CkrB4reQduxzobzOfT1gN1J61i+1Qq4dd2CHaCVAO02ogG4jfntBjziH5CL84DN7Zw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDE/DUBPIuMK+7Dk1CnVsBNPu+ufC6bG0fec+2JKideJAIhAPFCuXRWV2mn1Kr5ppYonlXE2PNsWbJi1IbjnUIQANNl"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fie-module-name_3.1.3-0_1528270140174_0.9383911688727753"},"_hasShrinkwrap":false},"3.1.3":{"name":"fie-module-name","main":"lib/index.js","description":"获取模块名字的相关信息，和 前缀","version":"3.1.3","keywords":["nodejs","fie-module-name","fie"],"repository":{"type":"git","url":"git+ssh://git@github.com/fieteam/fie.git"},"author":{"name":"hugohua","email":"baofen14787@gmail.com"},"maintainers":[{"name":"hugohua","email":"baofen14787@gmail.com"}],"dependencies":{"fie-env":"^3.1.3"},"bugs":{"url":"https://github.com/fieteam/fie/issues"},"homepage":"https://github.com/fieteam/fie#readme","_id":"fie-module-name@3.1.3","scripts":{},"_shasum":"2dd04dba36a9bf8d9fd3004d7b95398d828c6737","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.14.1","_npmUser":{"name":"hugohua","email":"baofen14787@gmail.com"},"dist":{"shasum":"2dd04dba36a9bf8d9fd3004d7b95398d828c6737","tarball":"https://registry.npmjs.org/fie-module-name/-/fie-module-name-3.1.3.tgz","integrity":"sha512-ZjLCbiHrDuYS17V/+w+CQb+87bs68T4Wza+ir9QRsVbd+O0BpoF/PY7G8wrIHQaTpYKZSLJ/OKgDMp2sMCoc1g==","fileCount":4,"unpackedSize":41377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbzYTdCRA9TVsSAnZWagAA314P/RgqK2/XbNSas5txFRYn\nMGvMkg82GFeGvk56AWcBw8/1MRcqtC/ZElrv8pfD+XV9venwOwomZMw1fWcP\nXLsIiP8PpWrwa6cdvqI+ulGN0bDBbDp7/t0p3T4vZgeVSOn2S+2g4fp0fxQp\nECyKGpU6JhTY9tnCj/xhn+xskAvHiIRz483hPy868z7d0F0GFXsI3t5Cc5wt\n0YygeZZFfiR9aMUncoc7nzwsui5D6iN3eZ/PaxjkWcxh8bPUKh/Zit3s0EzZ\nLOilT0P90APSpH3JDUnRKevm1u7U7Bd9vAkfqwt65NV+rZZduwx8KyIPWO84\nrEE++AZRObmspcAfHUvmqfDXRxOjUjF4Bb9AlB9b46VAszPNxazLkLqd409c\nRVzWmFLjVYCeaQ6ugDDQO/jnir46cFp0znTR2sWVZGRFpyly8ah6nhK95R/5\njpoUJjQl9GpiucRtI/avrmF3O8YDH5KfpFcW75vX5On3XBLGodNEwhMeTNtr\ncXV7OYbcl2fMT2SLWzwKFLmdzwlgQ9p9Psu3gqR5ocE4v1PfAJZCNc1E01jh\nf0QwBcO2XiyK7B5v40br72LTZoCndHzUTxNHiY5278YJpWZHVhmZB1/Pez3z\nZZdxzijKW/UojzwBITqD3s1b19OCPs8kkE+HzcyXnJSumocKCz8SvGpDi1LX\nX29q\r\n=WmdZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCZJmOhTtFEhnCONBB+itQwEKh+aowUzH7inTz9qil1WgIgZZelmGLHfdRooT2Ux/+f5Iw//KmyDEkCEPUzG0JDX90="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fie-module-name_3.1.3_1540195549014_0.916995674379768"},"_hasShrinkwrap":false},"3.1.4":{"name":"fie-module-name","main":"lib/index.js","description":"获取模块名字的相关信息，和 前缀","version":"3.1.4","keywords":["nodejs","fie-module-name","fie"],"repository":{"type":"git","url":"git+ssh://git@github.com/fieteam/fie.git"},"author":{"name":"hugohua","email":"baofen14787@gmail.com"},"maintainers":[{"name":"hugohua","email":"baofen14787@gmail.com"}],"dependencies":{"fie-env":"^3.1.4"},"bugs":{"url":"https://github.com/fieteam/fie/issues"},"homepage":"https://github.com/fieteam/fie#readme","_id":"fie-module-name@3.1.4","scripts":{},"_shasum":"05167b3ee8d007e58b575557db575fb50cd34ec7","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.14.1","_npmUser":{"name":"hugohua","email":"baofen14787@gmail.com"},"dist":{"shasum":"05167b3ee8d007e58b575557db575fb50cd34ec7","tarball":"https://registry.npmjs.org/fie-module-name/-/fie-module-name-3.1.4.tgz","integrity":"sha512-vqa2o1TiHO+g96Q8bnBcKbua21YmMx/2TyycKfTHVwtMVfm0a0i9WLbRCqboGrLU8yCyBz0QIXGVXyJuRFTvRw==","fileCount":4,"unpackedSize":41377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcBTCQCRA9TVsSAnZWagAAZcwQAJAeJDma9jC7gr+heVCN\n10eJcnpasatOw6CDz9n0sUYALLD418yjSSmgRnJmD+aN2IqJUkYPJjMERV22\nZ+WAkLXeIe0zs/Z3SSt5BCCcY+u9KYEanbRSgc0NwKmodtvEOHHXzHf9irCO\nFKYkPI/GbHMNU7CyELinelZ/z2OnoTGx3aAKKIj0bdO7FXOO1Re0tjyKQjP8\nz1cS0t9ARK5muXf+GGNCjdMxxwWhoY/8iUaVW381budqzaNVMM5LpDJaI+VD\nexFKBYTBtn5cO9pDyYWHh5wosKOnKJIbP6eTOzOrVV8mrxy+/0GiDmzioDYv\nmC853aJ60NvNyWs4NP+MtVFA4LpeusHco0RmdBwIkJLp876R4NALMSZIRAss\nbLzEOWF7VyU/EgA5Sh4N+++FC0N403tADoi/pWbBfH1GsRHbOb+uSHmsHl+u\nDF7loptIqV9KtZvhtxr8sh/xRZ89Eh6gRcQxLKHv3a4bjzOiryj1OFmYSHWN\nZ+V8Ll8qn0IfGtf7qPfAy8NYYyt82h3nkqLBFtp38nOGIGefy1JO3PKbRddx\n5EYodtBAo+KwTh8kCXUk+j2Gmtle4X/qpl8jW2VUKpOnhvL+l2DT97FV+8z4\nzfLDMO7GyZFoH3yvJ7aA6soyiZmOrmYZbKW0Aca7rMu9V1xQsIDEVIK/r1MZ\nzIMO\r\n=cnKB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDoSpdXqwtpvSXR5qZJqyeYhR1Cj7HZzct7AsFqXFT/cAIhAPD0JSZ5yJ7iHIBDiPKAXQH/nH9MJHsq5KaCPZqiCmpa"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fie-module-name_3.1.4_1543843983075_0.3830205936598312"},"_hasShrinkwrap":false},"3.1.8-alpha.0":{"name":"fie-module-name","main":"lib/index.js","description":"获取模块名字的相关信息，和 前缀","version":"3.1.8-alpha.0","keywords":["nodejs","fie-module-name","fie"],"repository":{"type":"git","url":"git+ssh://git@github.com/fieteam/fie.git"},"author":{"name":"hugohua","email":"baofen14787@gmail.com"},"maintainers":[{"email":"akirakai@163.com","name":"akirakai"},{"email":"baofen14787@gmail.com","name":"hugohua"}],"dependencies":{"fie-env":"^3.1.8-alpha.0"},"bugs":{"url":"https://github.com/fieteam/fie/issues"},"homepage":"https://github.com/fieteam/fie#readme","_id":"fie-module-name@3.1.8-alpha.0","_nodeVersion":"11.13.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-Nk7FaxooSXA7z2U4n+nr7Pxiz0qsZ0GVo3h66BpEMWrwW2v0HVq1+zuHquYT2tpRhu7wDq+caRE3TnmNPbsRjQ==","shasum":"ae7c81b440a86f789893cfe0acdc1544d1d271d7","tarball":"https://registry.npmjs.org/fie-module-name/-/fie-module-name-3.1.8-alpha.0.tgz","fileCount":4,"unpackedSize":41393,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdVCDJCRA9TVsSAnZWagAAdEoP/2wF54ZjQg5VMlaEVnrP\nvp1tAlzMCmkQ85LWIoA1ZJUjIF2V8UQPCz/TNLX6moQz8yCBdKi9v8WOZBBV\ny5eQ21sRdIFVmX3NtzF85vZkKniqngPwLcSTVvRY3eSrvIeBkyiUL5YNQFoG\nTTO7BqT5u3uYCH3hX3FvbRZxgnHkiq66lrr4qDRaYwPHpCFjFfgXhCWShL76\nKpTBRYRMONazmM1LHw7Xju8VKvAE6i0GRGSXipcbXejeJj/4vdRPRvvg2zOc\n2hidmdb74wBxrgDMawf3M1WT2xYg/v5ifqbnqxw5Mfana4qEA228pWW6vcBA\nYIdz9AcLWzfpNpB9p/G79k+jFXP+n5S4xERvyAg8kNQmj0hsqm3u5jyML9zH\nvbH1k5cLPQpLtjRMNm7MUuv3PlC3w6TyzYvwcgSpC4wvOOl5omVAowZq2VCu\nwpNIwIG6jk6UknQpMgtfsEb5Ux12JhOCCabLG/2aZV7ntAK8b4IZCy3Y9Vhx\nHMq/QDFHSUSt71iY/rGlE93CBR4LYcRQEILwGSCuqcLK7L0SbEjnzvSOx38g\nhykduYefGUutl/eC9WGGD4c61eo8qujZrlOKNbUaGGV40GDp1FgOOA3Vb6al\n/QBnPlN7GjfQmbfGWi7kZUs/MXQt3aphLwk4GNYGWW2sVKKzeL4cBmIlqDTa\n5B3e\r\n=Y10D\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD9R8L/Q9U2ET7LpeEUEnycbPd7NrurZQ5Dysow8PqBeQIgJDBnJ1aiok2ft+1iFFGJakfynPNEYdExUgp5HVCPJ94="}]},"_npmUser":{"name":"akirakai","email":"akirakai@163.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fie-module-name_3.1.8-alpha.0_1565794504806_0.7198239167099094"},"_hasShrinkwrap":false}},"readme":"# fie-module\n\n[![NPM version][npm-image]][npm-url]\n[![David deps][david-image]][david-url]\n[![Known Vulnerabilities][snyk-image]][snyk-url]\n[![npm download][download-image]][download-url]\n\n[npm-image]: https://img.shields.io/npm/v/fie-module.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/fie-module\n[david-image]: https://img.shields.io/david/cnpm/npminstall.svg?style=flat-square\n[david-url]: https://david-dm.org/fieteam/fie-module\n[snyk-image]: https://snyk.io/test/npm/fie-module/badge.svg?style=flat-square\n[snyk-url]: https://snyk.io/test/npm/fie-module\n[download-image]: https://img.shields.io/npm/dm/fie-module.svg?style=flat-square\n[download-url]: https://npmjs.org/package/fie-module\n\n> fie 模块的获取、安装及卸载\n\n## 安装\n\n```\nnpm install fie-module --save\n```\n\n## API\n\n### get(name)\n\n> `Generator 函数`, 获取 fie 模块, 需要运行插件和套件都用这个方法来先获取, 如果本地尚示安装, 会自动进行安装,然后返回模块\n\n- name `{string}` 模块名, 若需要获取 package.json 信息可以直接在模块名后面跟上  `/package.json`\n- return: `{object}` modInfo 模块对象, modInfo.mod 模块对象, modInfo.options 模块的设置项.\n\n```\n// 名字会自动补齐\nconst blue = yield fieModule.get('toolkit-blue');\n// blue 为blue套件时是一个对象，下面挂载几个命令对应的函数\nyield blue.build(fieObj, {\n  clientArgs: ['index']\n});\n\n// 获取模块手 package.json 信息\nconst pkg = yield fieModule.get('toolkit-blue/package.json');\nconsole.log(pkg.fieOptions);\n```\n\n### install(name)\n\n> `Generator 函数`, 安装 FIE 模块\n\n- name `{string}` 模块名, 若需要指定版本号直接在名字后面跟上即可,如: gulp@1.0.0\n\n### unInstall(name)\n\n> `异步方法`, 卸载 FIE 模块\n\n- name `{string}` 模块名\n\n\n\n### update(name)\n\n> `Generator 函数`, 更新 FIE 模块\n\n- name `{string}` 模块名\n\n\n\n### localList(options)\n\n> 获取本地已安装的 FIE 插件和套件列表\n\n- options `{object}` 可选项\n- options.type `{string}` 类型，可以是 plugin 或 toolkit， 不传获取全部列表\n- return: `{array}` 模块列表\n\n\n\n### onlineList(options)\n\n> `Generator 函数`, 获取线上的 FIE 插件和套件列表\n\n- options `{object}` 可选项\n- options.type `{string}` 类型，可以是 plugin 或 toolkit， 不传获取全部列表\n- return: `{array}` 模块列表\n\n\n\n### localExist(name)\n\n> 判断本地是否已安装对应的 FIE 模块了\n\n- name `{string}` 模块名\n- return: `{boolean}` 是否存在\n\n\n\n### onlineExist([type])\n\n> `Generator 函数`, 判断线上是否已存在对应的 FIE 模块了\n\n- name `{string}` 模块名\n- return: `{boolean}` 模块列表\n\n### fullName(name)\n\n> 根据传入的插件或套件名称缩写,生成对应的全称\n\n- name `{string}` 缩写的名称\n- return: `{string}` 全称\n\n\n### pluginFullName(name)\n\n> 根据传入插件名称缩写,生成对应的插件全称\n\n- name `{string}` 缩写的名称\n- return: `{string}` 全称\n\n\n### toolkitFullName(name)\n\n> 根据传入套件名称缩写,生成对应套件全称\n\n- name `{string}` 缩写的名称\n- return: `{string}` 全称\n\n\n\n## Support\n\n使用过程中遇到的相关问题，及BUG反馈，可联系: hugohua <baofen14787@gmail.com> ，也可直接提[issues](https://github.com/fieteam/fie/issues/new)\n\n## License\n\n[GNU GPLv3](LICENSE)\n\n","maintainers":[{"email":"baofen14787@gmail.com","name":"hugohua"},{"email":"xiaocong.hxc@alibaba-inc.com","name":"xiaocong.hxc"},{"email":"zhouxiongking@163.com","name":"zhouxiong03"},{"email":"akirakai@163.com","name":"akirakai"},{"email":"muscle.mark.cheng@gmail.com","name":"mark-ck"},{"email":"690051834@qq.com","name":"channing_hyl"}],"time":{"modified":"2022-10-18T06:49:41.444Z","created":"2017-10-08T07:03:02.791Z","2.7.9":"2017-10-08T07:03:02.791Z","2.7.10":"2017-10-08T07:14:44.774Z","3.0.1":"2017-10-08T13:49:12.986Z","3.0.2":"2017-10-09T07:14:24.641Z","3.0.5":"2017-10-19T14:49:44.700Z","3.1.2":"2018-01-26T15:14:19.541Z","3.1.3-0":"2018-06-06T07:29:00.503Z","3.1.3":"2018-10-22T08:05:49.145Z","3.1.4":"2018-12-03T13:33:04.286Z","3.1.8-alpha.0":"2019-08-14T14:55:04.990Z"},"homepage":"https://github.com/fieteam/fie#readme","keywords":["nodejs","fie-module-name","fie"],"repository":{"type":"git","url":"git+ssh://git@github.com/fieteam/fie.git"},"author":{"name":"hugohua","email":"baofen14787@gmail.com"},"bugs":{"url":"https://github.com/fieteam/fie/issues"},"readmeFilename":"README.md"}