load-resources

Load all JS/CSS files from site website.

Usage no npm install needed!

<script type="module">
  import loadResources from 'https://cdn.skypack.dev/load-resources';
</script>

README

Load Resources Build Status

Load all JS/CSS files from site website.

var load = require('load-resources');

load('https://github.com/', '.css', function (css, url) {
    // All GitHub styles will be here
})

Also you can set a array of sites as first argument.

Third argument of callback will be boolean to indicate last file.