You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 863B

12345678910111213141516171819202122232425262728293031
  1. # remote-content [![Build Status](https://travis-ci.org/jonkemp/remote-content.svg?branch=master)](https://travis-ci.org/jonkemp/remote-content) [![Coverage Status](https://coveralls.io/repos/jonkemp/remote-content/badge.svg?branch=master&service=github)](https://coveralls.io/github/jonkemp/remote-content?branch=master)
  2. [![NPM](https://nodei.co/npm/remote-content.png?downloads=true)](https://nodei.co/npm/remote-content/)
  3. > Get remote content.
  4. ## Install
  5. Install with [npm](https://npmjs.org/package/remote-content)
  6. ```
  7. npm install --save remote-content
  8. ```
  9. ## Usage
  10. ```js
  11. var getRemoteContent = require('remote-content');
  12. getRemoteContent(remotePath, function (err, contents) {
  13. console.log(contents);
  14. });
  15. ```
  16. ## Credit
  17. The code for this module was originally taken from the [Juice](https://github.com/Automattic/juice) library.
  18. ## License
  19. MIT