Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including client-side-library-resolver with all npm packages installed. Try it out:

var clientSideLibraryResolver = require("client-side-library-resolver")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

client-side-library-resolver v1.2.0

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

Client Side Library Resolver

NPM

Build Status

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.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free