@etomon/client-side-library-resolver

Provides tools to seamlessly switch between sending CDN or locally stored modules to the browser.

Usage no npm install needed!

<script type="module">
  import etomonClientSideLibraryResolver from 'https://cdn.skypack.dev/@etomon/client-side-library-resolver';
</script>

README

Client Side Library Resolver

This is a small library which is designed to allow you to switch between using client-side libraries saved under node_modules and ones hosted on a CDN.

I'll throw up a tutorial when I have some free time, but until then you can check out the API reference or look at the Mocha test under test/.

Building

This library is written in TypeScript, to compile run npm run build.

Docs

You can generate docs by running npm run docs.

Testing

Mocha tests are available under test/ run with npm test.