@softwareventures/fetch-ponyfill-preconfigured

Obsolete fetch-ponyfill wrapper

Usage no npm install needed!

<script type="module">
  import softwareventuresFetchPonyfillPreconfigured from 'https://cdn.skypack.dev/@softwareventures/fetch-ponyfill-preconfigured';
</script>

README

Not Recommended

This library used to incorporate a Promise ponyfill to support the implementation of fetch, but every reasonably-modern platform now includes a high-quality native implementation of Promise.

Therefore, this library is now just a trivial wrapper around fetch-ponyfill that uses the native Promise implementation.

This library is still maintained, but it is not recommended for new projects.

For new projects, use fetch-ponyfill directly, or consider cross-fetch instead.

fetch-ponyfill-preconfigured

Preconfigured fetch ponyfill based on fetch-ponyfill.

A ponyfill is like a polyfill, but it does not alter the global namespace.

Why?

This library used to incorporate a Promise ponyfill and would preconfigure fetch-ponyfill to use the bundled Promise, so that developers could just import fetch and use it without having to worry about how to configure it.

However, every reasonably-modern platform now provides a high-quality native implementation of Promise, so this library no longer incorporates a Promise ponyfill, but instead configures fetch-ponyfill to use the native Promise implementation. It is still maintained for backwards compatibility with projects that still use it, but it is not particularly useful and is not recommended for new projects.

Use fetch-ponyfill directly, or consider cross-fetch instead.

Install

npm install --save @softwareventures/fetch-ponyfill-preconfigured

or for yarn users:

yarn add @softwareventures/fetch-ponyfill-preconfigured

Alternatives

Copyright

See LICENSE.md for copyright and licensing information pertaining to this module.

fetch-ponyfill has its own separate copyright and licensing terms. See the documentation for that module.