remote-content

Get remote content.

Usage no npm install needed!

<script type="module">
  import remoteContent from 'https://cdn.skypack.dev/remote-content';
</script>

README

remote-content Build Status Coverage Status

NPM

Get remote content.

Install

Install with npm

npm install --save remote-content

Usage

var getRemoteContent = require('remote-content');

getRemoteContent(remotePath, function (err, contents) {
    console.log(contents);
});

Credit

The code for this module was originally taken from the Juice library.

License

MIT