resolvewithplus

resolvewith with extra power

ISC 50 个版本
安装
npm install resolvewithplus
yarn add resolvewithplus
pnpm add resolvewithplus
bun add resolvewithplus
README

resolvewithplus

npm Build Status install size

resolvewithplus('koa', '/resolvewith/test/')
// 'file:///resolvewith/node_modules/koa/dist/koa.mjs'
resolvewithplus('react-dom/server', '/resolvewith/test/', {
  isbrowser: true
})
// 'file:///resolvewith/node_modules/react-dom/server.browser.js'

resolvewithplus('react-dom/server', '/resolvewith/test/', {
  priority: ['browser', 'default']
})
// 'file:///resolvewith/node_modules/react-dom/server.browser.js'

resolvewithplus resolves module paths à la node.js' import.meta.resolve function and the import-meta-resolve npm package. It exists mostly to be small and to resolve module paths for esmock. It's size is ~8kB compared to import-meta-resolve's ~75kB size. For more details, see the wiki.

scrounge

版本列表
2.1.8 2026-05-28
2.1.7 2025-09-01
2.1.6 2025-01-24
2.1.5 2024-02-26
2.1.4 2024-01-23
2.1.3 2023-10-20
2.1.2 2023-10-19
2.1.1 2023-10-19
2.1.0 2023-10-15
2.0.9 2023-10-15
2.0.8 2023-10-11
2.0.7 2023-10-06
2.0.6 2023-10-06
2.0.4 2023-09-13
2.0.3 2023-09-13
2.0.2 2023-04-19
2.0.1 2022-11-26
2.0.0 2022-10-20
1.0.2 2022-09-24
1.0.1 2022-09-15
1.0.0 2022-08-27
0.9.0 2022-08-23
0.8.9 2022-08-19
0.8.8 2022-08-17
0.8.7 2022-08-15
0.8.5 2022-07-30
0.8.4 2022-07-22
0.8.3 2022-07-21
0.8.2 2022-07-21
0.8.1 2022-07-21
0.8.0 2022-02-15
0.7.0 2022-02-08
0.6.0 2021-12-15
0.5.1 2021-12-14
0.5.0 2021-12-14
0.4.2 2021-11-26
0.4.1 2021-11-26
0.4.0 2021-11-26
0.2.0 2021-04-10
0.1.2 2021-04-09
0.1.1 2018-04-17
0.1.0 2018-03-31
0.0.9 2017-04-24
0.0.8 2017-04-23
0.0.7 2017-01-08
0.0.6 2016-02-19
0.0.5 2016-02-13
0.0.3 2016-02-11
0.0.2 2015-12-15
0.0.1 2015-12-15