0.0.3 • Published 8 years ago

farfetchd v0.0.3

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

farfetched

Build Status Coverage Status dependencies npm version

Isomorphic implementation of the Fetch standard.

  • Does not modify global with fetch
  • Consistent API across client and server

Installation

NPM

npm install farfetched --save

CDN

<script src="https://npmcdn.com/farfetchd/dist/fetch.js"></script>

Usage

import fetch from 'farfetched';

fetch('https://news.ycombinator.com/')
    .then((response) => response.text())
    .then(console.log);

Alternatives