{"_id":"load-plugin","_rev":"265191","name":"load-plugin","description":"Load a submodule, plugin, or file","dist-tags":{"latest":"5.1.0"},"maintainers":[{"name":"npm:wooorm","email":""},{"name":"wooorm","email":""}],"time":{"modified":"2023-03-27T18:57:57.000Z","created":"2016-05-26T12:58:09.898Z","5.1.0":"2022-11-20T16:44:08.676Z","5.0.0":"2022-05-24T09:06:22.213Z","4.0.1":"2021-07-02T09:07:01.424Z","4.0.0":"2021-05-14T11:36:00.412Z","3.0.0":"2020-01-13T10:47:53.099Z","2.3.1":"2019-05-15T07:56:42.396Z","2.3.0":"2019-01-04T12:42:29.881Z","2.2.2":"2018-04-15T19:52:36.443Z","2.2.1":"2017-07-08T11:43:53.575Z","2.2.0":"2017-07-08T11:35:18.215Z","2.1.0":"2017-01-11T11:00:50.425Z","2.0.0":"2016-08-21T15:38:35.636Z","1.1.1":"2016-07-23T17:49:32.653Z","1.1.0":"2016-06-14T13:25:59.404Z","1.0.0":"2016-05-26T12:58:09.898Z"},"users":{},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"repository":{"type":"git","url":"git+https://github.com/wooorm/load-plugin.git"},"versions":{"5.1.0":{"name":"load-plugin","version":"5.1.0","description":"Load a submodule, plugin, or file","license":"MIT","keywords":["load","submodule","package","plugin"],"repository":{"type":"git","url":"git+https://github.com/wooorm/load-plugin.git"},"bugs":{"url":"https://github.com/wooorm/load-plugin/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"@npmcli/config":"^6.0.0","import-meta-resolve":"^2.0.0"},"devDependencies":{"@types/node":"^18.0.0","c8":"^7.0.0","prettier":"^2.0.0","remark-cli":"^11.0.0","remark-lint":"^9.0.0","remark-preset-wooorm":"^9.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","xo":"^0.53.0"},"scripts":{"prepack":"npm run build && npm run format","build":"tsc --build --clean && tsc --build && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node --conditions development test/index.js","test-coverage":"c8 --check-coverage --100 --reporter lcov npm run test-api","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"rules":{"unicorn/prefer-node-protocol":"off","no-await-in-loop":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true},"gitHead":"28ff874623de8f6bd2a700ba1f66113bf3ffbee6","homepage":"https://github.com/wooorm/load-plugin#readme","_id":"load-plugin@5.1.0","_nodeVersion":"19.0.0","_npmVersion":"8.19.2","dist":{"shasum":"15600f5191c742b16e058cfc908c227c13db0104","size":5694,"noattachment":false,"key":"/load-plugin/-/load-plugin-5.1.0.tgz","tarball":"http://name.csiicloud.com:7001/load-plugin/download/load-plugin-5.1.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"npm:wooorm","email":""},{"name":"wooorm","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/load-plugin_5.1.0_1668962648524_0.15525878879568844"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-11-20T16:44:11.787Z","publish_time":1668962648676,"_cnpm_publish_time":1668962648676},"5.0.0":{"name":"load-plugin","version":"5.0.0","description":"Load a submodule, plugin, or file","license":"MIT","keywords":["load","submodule","package","plugin"],"repository":{"type":"git","url":"git+https://github.com/wooorm/load-plugin.git"},"bugs":{"url":"https://github.com/wooorm/load-plugin/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"@npmcli/config":"^4.0.0","import-meta-resolve":"^2.0.0"},"devDependencies":{"@types/tape":"^4.0.0","c8":"^7.0.0","prettier":"^2.0.0","remark-cli":"^10.0.0","remark-lint":"^9.0.0","remark-preset-wooorm":"^9.0.0","rimraf":"^3.0.0","tape":"^5.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","xo":"^0.49.0"},"scripts":{"prepack":"npm run build && npm run format","build":"rimraf \"{test/**,}*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test/index.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test/index.js","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"rules":{"unicorn/prefer-node-protocol":"off","no-await-in-loop":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true},"gitHead":"7a23482723b1414045f160ae781d6fc8abd3725f","homepage":"https://github.com/wooorm/load-plugin#readme","_id":"load-plugin@5.0.0","_nodeVersion":"18.2.0","_npmVersion":"8.9.0","dist":{"shasum":"e24f6a69ed905e6b31d4555b1a46603c11e9c1f0","size":5701,"noattachment":false,"key":"/load-plugin/-/load-plugin-5.0.0.tgz","tarball":"http://name.csiicloud.com:7001/load-plugin/download/load-plugin-5.0.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"npm:wooorm","email":""},{"name":"wooorm","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/load-plugin_5.0.0_1653383182022_0.9388666615301866"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-05-24T10:35:09.313Z","publish_time":1653383182213,"_cnpm_publish_time":1653383182213},"4.0.1":{"name":"load-plugin","version":"4.0.1","description":"Load a submodule, plugin, or file","license":"MIT","keywords":["load","submodule","package","plugin"],"repository":{"type":"git","url":"git+https://github.com/wooorm/load-plugin.git"},"bugs":{"url":"https://github.com/wooorm/load-plugin/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"import-meta-resolve":"^1.0.0","libnpmconfig":"^1.0.0"},"devDependencies":{"@types/tape":"^4.0.0","c8":"^7.0.0","prettier":"^2.0.0","remark-cli":"^9.0.0","remark-lint":"^8.0.0","remark-preset-wooorm":"^8.0.0","rimraf":"^3.0.0","tape":"^5.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","xo":"^0.39.0"},"scripts":{"prepack":"npm run build && npm run format","build":"rimraf \"{test/**,}*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test/index.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test/index.js","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"rules":{"no-await-in-loop":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true},"gitHead":"1dfd259c0ead3c327510a5eb3de974f2011ed6b6","homepage":"https://github.com/wooorm/load-plugin#readme","_id":"load-plugin@4.0.1","_nodeVersion":"16.2.0","_npmVersion":"7.18.1","dist":{"shasum":"9a239b0337064c9b8aac82b0c9f89b067db487c5","size":5391,"noattachment":false,"key":"/load-plugin/-/load-plugin-4.0.1.tgz","tarball":"http://name.csiicloud.com:7001/load-plugin/download/load-plugin-4.0.1.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"npm:wooorm","email":""},{"name":"wooorm","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/load-plugin_4.0.1_1625216821266_0.812519662406213"},"_hasShrinkwrap":false,"publish_time":1625216821424,"_cnpm_publish_time":1625216821424,"_cnpmcore_publish_time":"2021-12-16T12:48:57.849Z"},"4.0.0":{"name":"load-plugin","version":"4.0.0","description":"Load a submodule, plugin, or file","license":"MIT","keywords":["load","submodule","package","plugin"],"repository":{"type":"git","url":"git+https://github.com/wooorm/load-plugin.git"},"bugs":{"url":"https://github.com/wooorm/load-plugin/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"import-meta-resolve":"^1.0.0","libnpmconfig":"^1.0.0"},"devDependencies":{"@types/tape":"^4.0.0","c8":"^7.0.0","prettier":"^2.0.0","remark-cli":"^9.0.0","remark-lint":"^8.0.0","remark-preset-wooorm":"^8.0.0","rimraf":"^3.0.0","tape":"^5.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","xo":"^0.39.0"},"scripts":{"prepack":"npm run build && npm run format","build":"rimraf \"{test/**,}*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test/index.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test/index.js","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"rules":{"no-await-in-loop":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true},"gitHead":"c7c598815de84a4e498329fc15768c80f529a55f","homepage":"https://github.com/wooorm/load-plugin#readme","_id":"load-plugin@4.0.0","_nodeVersion":"16.1.0","_npmVersion":"7.12.1","dist":{"shasum":"44f0d55f43d191c860228af3fa98cfeffd304ece","size":5425,"noattachment":false,"key":"/load-plugin/-/load-plugin-4.0.0.tgz","tarball":"http://name.csiicloud.com:7001/load-plugin/download/load-plugin-4.0.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"npm:wooorm","email":""},{"name":"wooorm","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/load-plugin_4.0.0_1620992160274_0.6543370538733482"},"_hasShrinkwrap":false,"publish_time":1620992160412,"_cnpm_publish_time":1620992160412,"_cnpmcore_publish_time":"2021-12-16T12:48:58.078Z"},"3.0.0":{"name":"load-plugin","version":"3.0.0","description":"Load a submodule, plugin, or file","license":"MIT","keywords":["load","submodule","package","plugin"],"repository":{"type":"git","url":"git+https://github.com/wooorm/load-plugin.git"},"bugs":{"url":"https://github.com/wooorm/load-plugin/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"main":"index.js","browser":"browser.js","dependencies":{"libnpmconfig":"^1.0.0","resolve-from":"^5.0.0"},"devDependencies":{"nyc":"^15.0.0","prettier":"^1.0.0","remark-cli":"^7.0.0","remark-lint":"^6.0.0","remark-preset-wooorm":"^6.0.0","tape":"^4.0.0","xo":"^0.25.0"},"scripts":{"format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test":"npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"1f4850c45f29e1581ad58791924f1dbcd5e88ba6","homepage":"https://github.com/wooorm/load-plugin#readme","_id":"load-plugin@3.0.0","_nodeVersion":"13.0.1","_npmVersion":"6.13.6","dist":{"shasum":"8f3ce57cf4e5111639911012487bc1c2ba3d0e6c","size":4346,"noattachment":false,"key":"/load-plugin/-/load-plugin-3.0.0.tgz","tarball":"http://name.csiicloud.com:7001/load-plugin/download/load-plugin-3.0.0.tgz"},"maintainers":[{"name":"npm:wooorm","email":""},{"name":"wooorm","email":""}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/load-plugin_3.0.0_1578912473008_0.9168410197196153"},"_hasShrinkwrap":false,"publish_time":1578912473099,"_cnpm_publish_time":1578912473099},"2.3.1":{"name":"load-plugin","version":"2.3.1","description":"Load a submodule, plugin, or file","license":"MIT","keywords":["load","submodule","package","plugin"],"repository":{"type":"git","url":"git+https://github.com/wooorm/load-plugin.git"},"bugs":{"url":"https://github.com/wooorm/load-plugin/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"main":"index.js","browser":"browser.js","dependencies":{"npm-prefix":"^1.2.0","resolve-from":"^5.0.0"},"devDependencies":{"nyc":"^14.0.0","prettier":"^1.12.0","remark-cli":"^6.0.0","remark-lint":"^6.0.0","remark-preset-wooorm":"^4.0.0","tape":"^4.0.0","xo":"^0.24.0"},"scripts":{"format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test":"npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"361018ed8123e0315ea58b6c26a624c96e240907","homepage":"https://github.com/wooorm/load-plugin#readme","_id":"load-plugin@2.3.1","_nodeVersion":"11.9.0","_npmVersion":"6.9.0","dist":{"shasum":"8024739afb4aa04de1e602e15e5b1a678c443d00","size":4059,"noattachment":false,"key":"/load-plugin/-/load-plugin-2.3.1.tgz","tarball":"http://name.csiicloud.com:7001/load-plugin/download/load-plugin-2.3.1.tgz"},"maintainers":[{"name":"npm:wooorm","email":""},{"name":"wooorm","email":""}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/load-plugin_2.3.1_1557907002130_0.8785693805391095"},"_hasShrinkwrap":false,"publish_time":1557907002396,"_cnpm_publish_time":1557907002396},"2.3.0":{"name":"load-plugin","version":"2.3.0","description":"Load a submodule, plugin, or file","license":"MIT","keywords":["load","submodule","package","plugin"],"repository":{"type":"git","url":"git+https://github.com/wooorm/load-plugin.git"},"bugs":{"url":"https://github.com/wooorm/load-plugin/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"main":"index.js","browser":"browser.js","dependencies":{"npm-prefix":"^1.2.0","resolve-from":"^4.0.0"},"devDependencies":{"nyc":"^13.0.0","prettier":"^1.12.0","remark-cli":"^6.0.0","remark-lint":"^6.0.0","remark-preset-wooorm":"^4.0.0","tape":"^4.0.0","xo":"^0.23.0"},"scripts":{"format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test":"npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"no-eq-null":"off","eqeqeq":"off"}},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"f8f2a2db68dc9403fcb5c64e318d754562299c3b","homepage":"https://github.com/wooorm/load-plugin#readme","_id":"load-plugin@2.3.0","_npmVersion":"6.5.0","_nodeVersion":"11.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"577b6a956b344fd2ae80d8ecff5944febeea8eb7","size":4048,"noattachment":false,"key":"/load-plugin/-/load-plugin-2.3.0.tgz","tarball":"http://name.csiicloud.com:7001/load-plugin/download/load-plugin-2.3.0.tgz"},"maintainers":[{"name":"npm:wooorm","email":""},{"name":"wooorm","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/load-plugin_2.3.0_1546605749746_0.6315122610191457"},"_hasShrinkwrap":false,"publish_time":1546605749881,"_cnpm_publish_time":1546605749881},"2.2.2":{"name":"load-plugin","version":"2.2.2","description":"Load a submodule, plugin, or file","license":"MIT","keywords":["load","submodule","package","plugin"],"repository":{"type":"git","url":"git+https://github.com/wooorm/load-plugin.git"},"bugs":{"url":"https://github.com/wooorm/load-plugin/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"main":"index.js","browser":"browser.js","files":["browser","index.js"],"dependencies":{"npm-prefix":"^1.2.0","resolve-from":"^4.0.0"},"devDependencies":{"nyc":"^11.0.0","prettier":"^1.12.0","remark-cli":"^5.0.0","remark-lint":"^6.0.0","remark-preset-wooorm":"^4.0.0","tape":"^4.0.0","xo":"^0.20.0"},"scripts":{"format":"remark . -qfo && prettier --write '**/*.js' && xo --fix","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test":"npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"import/no-dynamic-require":"off","no-var":"off","prefer-arrow-callback":"off","no-eq-null":"off","eqeqeq":"off"}},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"c87c91878217a91bb9399d825c36d54efd78145d","homepage":"https://github.com/wooorm/load-plugin#readme","_id":"load-plugin@2.2.2","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"ebc7599491ff33e5077719fbe051d5725a9f7a89","size":3888,"noattachment":false,"key":"/load-plugin/-/load-plugin-2.2.2.tgz","tarball":"http://name.csiicloud.com:7001/load-plugin/download/load-plugin-2.2.2.tgz"},"maintainers":[{"name":"npm:wooorm","email":""},{"name":"wooorm","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/load-plugin_2.2.2_1523821956361_0.915511632925299"},"_hasShrinkwrap":false,"publish_time":1523821956443,"_cnpm_publish_time":1523821956443},"2.2.1":{"name":"load-plugin","version":"2.2.1","description":"Load a submodule, plugin, or file","license":"MIT","keywords":["load","submodule","package","plugin"],"repository":{"type":"git","url":"git+https://github.com/wooorm/load-plugin.git"},"bugs":{"url":"https://github.com/wooorm/load-plugin/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"main":"index.js","browser":"browser.js","files":["browser","index.js"],"dependencies":{"npm-prefix":"^1.2.0","resolve-from":"^2.0.0"},"devDependencies":{"nyc":"^11.0.0","remark-cli":"^3.0.0","remark-lint":"^6.0.0","remark-preset-wooorm":"^3.0.0","tape":"^4.0.0","xo":"^0.18.0"},"scripts":{"build-md":"remark . -qfo","build":"npm run build-md","lint":"xo","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test":"npm run build && npm run lint && npm run test-coverage"},"xo":{"space":true,"esnext":false,"rules":{"import/no-dynamic-require":"off","no-eq-null":"off","eqeqeq":"off"}},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"ec8e4c894910f3ace12780af4c8144295d7915a9","homepage":"https://github.com/wooorm/load-plugin#readme","_id":"load-plugin@2.2.1","_npmVersion":"5.0.4","_nodeVersion":"8.1.2","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"384def2b47be6edd65db0f18f368fd749b463edd","size":3703,"noattachment":false,"key":"/load-plugin/-/load-plugin-2.2.1.tgz","tarball":"http://name.csiicloud.com:7001/load-plugin/download/load-plugin-2.2.1.tgz"},"maintainers":[{"name":"npm:wooorm","email":""},{"name":"wooorm","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/load-plugin-2.2.1.tgz_1499514232698_0.26024713017977774"},"directories":{},"publish_time":1499514233575,"_cnpm_publish_time":1499514233575,"_hasShrinkwrap":false},"2.2.0":{"name":"load-plugin","version":"2.2.0","description":"Load a submodule, plugin, or file","license":"MIT","keywords":["load","submodule","package","plugin"],"repository":{"type":"git","url":"git+https://github.com/wooorm/load-plugin.git"},"bugs":{"url":"https://github.com/wooorm/load-plugin/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"main":"index.js","browser":"browser.js","files":["browser","index.js"],"dependencies":{"npm-prefix":"^1.2.0","resolve-from":"^2.0.0"},"devDependencies":{"nyc":"^11.0.0","remark-cli":"^3.0.0","remark-lint":"^6.0.0","remark-preset-wooorm":"^3.0.0","tape":"^4.0.0","xo":"^0.18.0"},"scripts":{"build-md":"remark . -qfo","build":"npm run build-md","lint":"xo","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test":"npm run build && npm run lint && npm run test-coverage"},"xo":{"space":true,"esnext":false,"rules":{"import/no-dynamic-require":"off","no-eq-null":"off","eqeqeq":"off"}},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"761d69f561d46e3ca4da2e85f6552d9332a5c6f5","homepage":"https://github.com/wooorm/load-plugin#readme","_id":"load-plugin@2.2.0","_shasum":"832f796044d338c6c24c99c9d92cbb33a01a97a7","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"832f796044d338c6c24c99c9d92cbb33a01a97a7","size":3692,"noattachment":false,"key":"/load-plugin/-/load-plugin-2.2.0.tgz","tarball":"http://name.csiicloud.com:7001/load-plugin/download/load-plugin-2.2.0.tgz"},"maintainers":[{"name":"npm:wooorm","email":""},{"name":"wooorm","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/load-plugin-2.2.0.tgz_1499513717075_0.8400096383411437"},"directories":{},"publish_time":1499513718215,"_hasShrinkwrap":false,"_cnpm_publish_time":1499513718215,"deprecated":"Broken version. Please use load-plugin@^2.2.1"},"2.1.0":{"name":"load-plugin","version":"2.1.0","description":"Load a submodule, plugin, or file","license":"MIT","keywords":["load","submodule","package","plugin"],"repository":{"type":"git","url":"git+https://github.com/wooorm/load-plugin.git"},"bugs":{"url":"https://github.com/wooorm/load-plugin/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"dependencies":{"npm-prefix":"^1.2.0","resolve-from":"^2.0.0"},"main":"index.js","browser":"browser.js","files":["browser","index.js"],"devDependencies":{"nyc":"^10.0.0","remark-cli":"^2.1.0","remark-lint":"^5.2.0","remark-preset-wooorm":"^1.0.0","tape":"^4.0.0","xo":"^0.17.0"},"scripts":{"build-md":"remark . --quiet --frail --output","build":"npm run build-md","lint":"xo","test-api":"node test/index.js","test-coverage":"nyc --reporter lcov tape test/index.js","test":"npm run build && npm run lint && npm run test-coverage"},"xo":{"space":true,"rules":{"import/no-dynamic-require":"off","no-eq-null":"off","eqeqeq":"off"}},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"remarkConfig":{"presets":"wooorm"},"gitHead":"08654d5b4109378bc62cb279cd5a6a28e41f1745","homepage":"https://github.com/wooorm/load-plugin#readme","_id":"load-plugin@2.1.0","_shasum":"5c688c560261997b47dfd0a7361faeb152acf7f5","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"5c688c560261997b47dfd0a7361faeb152acf7f5","size":3363,"noattachment":false,"key":"/load-plugin/-/load-plugin-2.1.0.tgz","tarball":"http://name.csiicloud.com:7001/load-plugin/download/load-plugin-2.1.0.tgz"},"maintainers":[{"name":"npm:wooorm","email":""},{"name":"wooorm","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/load-plugin-2.1.0.tgz_1484132449615_0.5060688306111842"},"directories":{},"publish_time":1484132450425,"_cnpm_publish_time":1484132450425,"_hasShrinkwrap":false},"2.0.0":{"name":"load-plugin","version":"2.0.0","description":"Load a submodule, plugin, or file","license":"MIT","keywords":["load","submodule","package","plugin"],"repository":{"type":"git","url":"git+https://github.com/wooorm/load-plugin.git"},"bugs":{"url":"https://github.com/wooorm/load-plugin/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"dependencies":{"npm-prefix":"^1.2.0","resolve-from":"^2.0.0"},"files":["index.js"],"devDependencies":{"istanbul":"^0.4.0","remark-cli":"^1.0.0","remark-comment-config":"^4.0.0","remark-github":"^5.0.0","remark-lint":"^4.0.0","remark-validate-links":"^4.0.0","tape":"^4.0.0","xo":"^0.16.0"},"scripts":{"build-md":"remark . --quiet --frail","build":"npm run build-md","lint":"xo","test-api":"node test/index.js","test-coverage":"istanbul cover test/index.js","test":"npm run build && npm run lint && npm run test-coverage"},"xo":{"space":true,"rules":{"no-eq-null":"off","eqeqeq":"off"}},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"remarkConfig":{"output":true,"plugins":{"comment-config":null,"github":null,"lint":{"heading-increment":false,"list-item-spacing":false},"validate-links":null},"settings":{"bullet":"*"}},"gitHead":"152e4fe9a75d93049cd27480321b548994c65aaa","homepage":"https://github.com/wooorm/load-plugin#readme","_id":"load-plugin@2.0.0","_shasum":"bfcc69aa2916263c45befcbb2b54cc4ec0e3b4d5","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"bfcc69aa2916263c45befcbb2b54cc4ec0e3b4d5","size":2691,"noattachment":false,"key":"/load-plugin/-/load-plugin-2.0.0.tgz","tarball":"http://name.csiicloud.com:7001/load-plugin/download/load-plugin-2.0.0.tgz"},"maintainers":[{"name":"npm:wooorm","email":""},{"name":"wooorm","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/load-plugin-2.0.0.tgz_1471793914280_0.7949218756984919"},"directories":{},"publish_time":1471793915636,"_cnpm_publish_time":1471793915636,"_hasShrinkwrap":false},"1.1.1":{"name":"load-plugin","version":"1.1.1","description":"Load a submodule / plugin","license":"MIT","keywords":["load","submodule","package","plugin"],"files":["index.js"],"repository":{"type":"git","url":"git+https://github.com/wooorm/load-plugin.git"},"bugs":{"url":"https://github.com/wooorm/load-plugin/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"dependencies":{"array-unique":"^0.2.1","find-root":"^1.0.0","npm-prefix":"^1.2.0"},"devDependencies":{"istanbul":"^0.4.0","remark-cli":"^1.0.0","remark-comment-config":"^4.0.0","remark-github":"^5.0.0","remark-lint":"^4.0.0","remark-validate-links":"^4.0.0","tape":"^4.0.0","xo":"^0.16.0"},"scripts":{"build-md":"remark . --quiet --frail","build":"npm run build-md","lint":"xo","test-api":"node test/index.js","test-coverage":"istanbul cover test/index.js","test":"npm run build && npm run lint && npm run test-coverage"},"xo":{"space":true,"rules":{"no-eq-null":"off","eqeqeq":"off"}},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"remarkConfig":{"output":true,"plugins":["comment-config","github","lint","validate-links"],"settings":{"bullet":"*"}},"gitHead":"28fee0711def46c8689e5060c5f6feb0b225c917","homepage":"https://github.com/wooorm/load-plugin#readme","_id":"load-plugin@1.1.1","_shasum":"7a7ca2855b7ea4121f0a87cbb7743b8fb2b34445","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"7a7ca2855b7ea4121f0a87cbb7743b8fb2b34445","size":3668,"noattachment":false,"key":"/load-plugin/-/load-plugin-1.1.1.tgz","tarball":"http://name.csiicloud.com:7001/load-plugin/download/load-plugin-1.1.1.tgz"},"maintainers":[{"name":"npm:wooorm","email":""},{"name":"wooorm","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/load-plugin-1.1.1.tgz_1469296170922_0.4997091649565846"},"directories":{},"publish_time":1469296172653,"_cnpm_publish_time":1469296172653,"_hasShrinkwrap":false},"1.1.0":{"name":"load-plugin","version":"1.1.0","description":"Load a submodule / plugin","license":"MIT","keywords":["load","submodule","package","plugin"],"files":["index.js"],"repository":{"type":"git","url":"git+https://github.com/wooorm/load-plugin.git"},"bugs":{"url":"https://github.com/wooorm/load-plugin/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"dependencies":{"array-unique":"^0.2.1","find-root":"^1.0.0","npm-prefix":"^1.2.0"},"devDependencies":{"eslint":"^2.0.0","istanbul":"^0.4.0","jscs":"^3.0.0","jscs-jsdoc":"^2.0.0","remark-cli":"^1.0.0","remark-comment-config":"^4.0.0","remark-github":"^5.0.0","remark-lint":"^4.0.0","remark-validate-links":"^4.0.0","tape":"^4.0.0"},"scripts":{"build-md":"remark . --quiet --frail","build":"npm run build-md","lint-api":"eslint .","lint-style":"jscs --reporter inline .","lint":"npm run lint-api && npm run lint-style","test-api":"node test/index.js","test-coverage":"istanbul cover test/index.js","test":"npm run build && npm run lint && npm run test-coverage"},"gitHead":"1baa2ef74c00d692b5cddb7da8f7f1985b0179dc","homepage":"https://github.com/wooorm/load-plugin#readme","_id":"load-plugin@1.1.0","_shasum":"506879b31456846009bf11b5c785fa00dc8dccf6","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.1.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"506879b31456846009bf11b5c785fa00dc8dccf6","size":3520,"noattachment":false,"key":"/load-plugin/-/load-plugin-1.1.0.tgz","tarball":"http://name.csiicloud.com:7001/load-plugin/download/load-plugin-1.1.0.tgz"},"maintainers":[{"name":"npm:wooorm","email":""},{"name":"wooorm","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/load-plugin-1.1.0.tgz_1465910756429_0.3489814589265734"},"directories":{},"publish_time":1465910759404,"_cnpm_publish_time":1465910759404,"_hasShrinkwrap":false},"1.0.0":{"name":"load-plugin","version":"1.0.0","description":"Load a submodule / plugin","license":"MIT","keywords":["load","submodule","package","plugin"],"files":["index.js"],"repository":{"type":"git","url":"git+https://github.com/wooorm/load-plugin.git"},"bugs":{"url":"https://github.com/wooorm/load-plugin/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"dependencies":{"find-root":"^1.0.0","npm-prefix":"^1.2.0"},"devDependencies":{"eslint":"^2.0.0","istanbul":"^0.4.0","jscs":"^3.0.0","jscs-jsdoc":"^2.0.0","remark":"^4.0.0","remark-comment-config":"^3.0.0","remark-github":"^4.0.1","remark-lint":"^3.0.0","remark-validate-links":"^3.0.0","tape":"^4.0.0"},"scripts":{"build-md":"remark . --quiet --frail","build":"npm run build-md","lint-api":"eslint .","lint-style":"jscs --reporter inline .","lint":"npm run lint-api && npm run lint-style","test-api":"node test/index.js","test-coverage":"istanbul cover test/index.js","test":"npm run build && npm run lint && npm run test-coverage"},"gitHead":"1ca5a91d97dd63352240340a50a4bb41c7a5228e","homepage":"https://github.com/wooorm/load-plugin#readme","_id":"load-plugin@1.0.0","_shasum":"d64ec29b67a084f4edcadc5dd5596bc34c5d8a58","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"d64ec29b67a084f4edcadc5dd5596bc34c5d8a58","size":3127,"noattachment":false,"key":"/load-plugin/-/load-plugin-1.0.0.tgz","tarball":"http://name.csiicloud.com:7001/load-plugin/download/load-plugin-1.0.0.tgz"},"maintainers":[{"name":"npm:wooorm","email":""},{"name":"wooorm","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/load-plugin-1.0.0.tgz_1464267488048_0.9973498797044158"},"directories":{},"publish_time":1464267489898,"_cnpm_publish_time":1464267489898,"_hasShrinkwrap":false}},"readme":"# load-plugin\n\n[![Build][build-badge]][build]\n[![Coverage][coverage-badge]][coverage]\n[![Downloads][downloads-badge]][downloads]\n\nLoad submodules, plugins, or files.\n\n## Contents\n\n*   [What is this?](#what-is-this)\n*   [When to use this?](#when-to-use-this)\n*   [Install](#install)\n*   [Use](#use)\n*   [API](#api)\n    *   [`loadPlugin(name[, options])`](#loadpluginname-options)\n    *   [`resolvePlugin(name[, options])`](#resolvepluginname-options)\n*   [Types](#types)\n*   [Compatibility](#compatibility)\n*   [Contribute](#contribute)\n*   [License](#license)\n\n## What is this?\n\nThis package is useful when you want to load plugins.\nIt resolves things like Node.js does, but supports a prefix (e.g., when given a\nprefix `remark` and the user provided value `gfm`, it can find `remark-gfm`),\ncan load from several places, and optionally global too.\n\n## When to use this?\n\nThis package is particularly useful when you want users to configure something\nwith plugins.\nOne example is `remark-cli` which can load remark plugins from configuration\nfiles.\n\n## Install\n\nThis package is [ESM only][esm].\nIn Node.js (version 14.14+, 16.0+), install with [npm][]:\n\n```sh\nnpm install load-plugin\n```\n\n## Use\n\nSay we’re in this project (with dependencies installed):\n\n```js\nimport {loadPlugin, resolvePlugin} from 'load-plugin'\n\nconsole.log(await resolvePlugin('lint', {prefix: 'remark'}))\n// => '/Users/tilde/projects/oss/load-plugin/node_modules/remark-lint/index.js'\n\nconsole.log(await resolvePlugin('validator-identifier', {prefix: '@babel/helper'}))\n// => '/Users/tilde/Projects/oss/load-plugin/node_modules/@babel/helper-validator-identifier/lib/index.js'\n\nconsole.log(await resolvePlugin('./index.js', {prefix: 'remark'}))\n// => '/Users/tilde/projects/oss/load-plugin/index.js'\n\nconsole.log(await loadPlugin('lint', {prefix: 'remark'}))\n// => [Function: remarkLint]\n```\n\n## API\n\nThis package exports the identifiers `loadPlugin` and `resolvePlugin`.\nThere is no default export.\n\n### `loadPlugin(name[, options])`\n\nUses Node’s [resolution algorithm][algo] (through\n[`import-meta-resolve`][import-meta-resolve]) to load CJS and ESM packages and\nfiles to import `name` in each given `cwd` (and optionally the global\n`node_modules` directory).\n\nIf a `prefix` is given and `name` is not a path, `$prefix-$name` is also\nsearched (preferring these over non-prefixed modules).\nIf `name` starts with a scope (`@scope/name`), the prefix is applied after it:\n`@scope/$prefix-name`.\n\n##### `options`\n\nConfiguration (optional).\n\n###### `options.prefix`\n\nPrefix to search for (`string`, optional).\n\n###### `options.cwd`\n\nPlace or places to search from (`string`, `Array<string>`, default:\n`process.cwd()`).\n\n###### `options.global`\n\nWhether to look for `name` in [global places][global] (`boolean`, optional,\ndefaults to whether global is detected).\nIf this is nullish, `load-plugin` will detect if it’s currently running in\nglobal mode: either because it’s in Electron, or because a globally installed\npackage is running it.\n\nNote: Electron runs its own version of Node instead of your system Node.\nThat means global packages cannot be found, unless you’ve [set-up][] a [`prefix`\nin your `.npmrc`][prefix] or are using [nvm][] to manage your system node.\n\n###### `options.key`\n\nIdentifier to take from the exports (`string` or `false`, default: `'default'`).\nFor example when given `'whatever'`, the value of `export const whatever = 1`\nwill be returned, when given `'default'`, the value of `export default …` is\nused, and when `false` the whole module object is returned.\n\n###### Returns\n\nPromise yielding the results of importing the first path that exists\n(`Promise<unknown>`).\nThe promise rejects if importing an existing path fails, or if no existing\npath exists.\n\n### `resolvePlugin(name[, options])`\n\nSearch for `name`.\nAccepts the same parameters as [`loadPlugin`][load-plugin] (except `key`) but\nreturns a promise resolving to an absolute URL (`string`) for `name` instead of\nimporting it.\nThrows if `name` cannot be found.\n\n## Types\n\nThis package is fully typed with [TypeScript][].\nIt exports the additional types `ResolveOptions` and `LoadOptions`.\n\n## Compatibility\n\nThis package is at least compatible with all maintained versions of Node.js.\nAs of now, that is Node.js 14.14+ and 16.0+.\nIt also works in Deno and modern browsers.\n\n## Contribute\n\nYes please!\nSee [How to Contribute to Open Source][contribute].\n\n## License\n\n[MIT][license] © [Titus Wormer][author]\n\n<!-- Definitions -->\n\n[build-badge]: https://github.com/wooorm/load-plugin/actions/workflows/main.yml/badge.svg\n\n[build]: https://github.com/wooorm/load-plugin/actions\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/wooorm/load-plugin.svg\n\n[coverage]: https://codecov.io/github/wooorm/load-plugin\n\n[downloads-badge]: https://img.shields.io/npm/dm/load-plugin.svg\n\n[downloads]: https://www.npmjs.com/package/load-plugin\n\n[npm]: https://docs.npmjs.com/cli/install\n\n[license]: license\n\n[author]: https://wooorm.com\n\n[esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c\n\n[typescript]: https://www.typescriptlang.org\n\n[contribute]: https://opensource.guide/how-to-contribute/\n\n[global]: https://docs.npmjs.com/files/folders#node-modules\n\n[prefix]: https://docs.npmjs.com/misc/config#prefix\n\n[set-up]: https://github.com/sindresorhus/guides/blob/master/npm-global-without-sudo.md\n\n[nvm]: https://github.com/creationix/nvm\n\n[algo]: https://nodejs.org/api/esm.html#esm_resolution_algorithm\n\n[import-meta-resolve]: https://github.com/wooorm/import-meta-resolve\n\n[load-plugin]: #loadpluginname-options\n","_attachments":{},"homepage":"https://github.com/wooorm/load-plugin#readme","bugs":{"url":"https://github.com/wooorm/load-plugin/issues"},"license":"MIT"}