Skip to content

Isomorphic ponyfill wrapping native browser fetch and node-fetch

License

Notifications You must be signed in to change notification settings

foxglove/just-fetch

Repository files navigation

@foxglove/just-fetch

Isomorphic ponyfill wrapping native browser fetch and node-fetch.

npm version

Usage

import fetch from "@foxglove/just-fetch";

Usage is the same whether you are targeting browsers or node.js. The browser target returns the native window.fetch implementation, and in node.js the node-fetch library is returned.

License

@foxglove/just-fetch is licensed under the MIT License.

Releasing

  1. Run yarn version --[major|minor|patch] to bump version
  2. Run git push && git push --tags to push new tag
  3. GitHub Actions will take care of the rest

About

Isomorphic ponyfill wrapping native browser fetch and node-fetch

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 6