@velcro/resolver-host-compound
TypeScript icon, indicating that this package has built-in type declarations

0.27.0 • Public • Published

@velcro/resolver-host-compound

A class that implements the ResolverHost interface over a set of child ResolverHosts that each map to a distinct prefix.

Usage

const host = new Velcro.ResolverHostCompound({
  'https://unpkg.com/': new Velcro.ResolverHostUnpkg(),
  'file:///': new Velcro.ResolverHostFs({ fs }),
});

Package Sidebar

Install

npm i @velcro/resolver-host-compound

Weekly Downloads

27

Version

0.27.0

License

MIT

Unpacked Size

54.5 kB

Total Files

20

Last publish

Collaborators

  • filearts