JSPM

@loaderkit/resolve

1.0.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 63381
  • Score
    100M100P100Q217929F
  • License ISC

Package Exports

  • @loaderkit/resolve/adapter
  • @loaderkit/resolve/cjs
  • @loaderkit/resolve/esm
  • @loaderkit/resolve/fs
  • @loaderkit/resolve/node-modules

Readme

npm version isc license github action npm downloads

🔎 @loaderkit/resolve - General purpose nodejs module resolver

An accurate & abstract implementation of the nodejs module resolution algorithms. It implements both the CommonJS and modules algorithms. Originally authored for arethetypeswrong.

See also: resolve, enhanced-resolve, and esm-resolve. The main point of this package is accuracy with the default nodejs resolution algorithms.

  • Does nothing that the nodejs default resolver doesn't do
  • Runs in a web browser w/ abstract filesystems
  • Sensible TypeScript-first types
  • Shakeable ESM exports
  • Promise & synchronous implementations