JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 13
  • Score
    100M100P100Q56124F

Fetch based http requests library for browsers.

Package Exports

  • @sifrr/fetch

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@sifrr/fetch) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

sifrr-fetch

Fetch based http requests library for browsers.

Size

Type Size
Normal (dist/sifrr.fetch.js) Normal
Minified (dist/sifrr.fetch.min.js) Minified
Minified + Gzipped (dist/sifrr.fetch.min.js) Minified + Gzipped

How to use

Directly in Browser using standalone distribution

Add script tag in your website.

<script src="https://unpkg.com/@sifrr/fetch@0.1.0-alpha/dist/sifrr.fetch.min.js"></script>

Compatibility table for standalone distribution (Needs support for JavaScript Fetch API)

  • chrome >= 55
  • safari >= 10.1
  • opera >= 42
  • firefox >= 53

Using npm

Do npm i @sifrr/fetch or yarn add @sifrr/fetch or add the package to your package.json file. Compatible with webpack/rollup etc, with plugin to convert commonjs files.