JSPM

  • Created
  • Published
  • Downloads 174
  • Score
    100M100P100Q96525F
  • License ISC

resolvewith with extra power

Package Exports

  • resolvewithplus

Readme

resolvewithplus

npm Build Status install size

resolvewithplus('koa', '/root/resolvewith/test/')
// '/root/resolvewith/node_modules/koa/dist/koa.mjs'

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 ~6kB compared to import-meta-resolve's ~182kB size. For more details, see the wiki.

scrounge