@foxglove/just-fetch
v1.3.1
Published
Isomorphic ponyfill wrapping native browser fetch and node-fetch
Downloads
13,727
Readme
@foxglove/just-fetch
Isomorphic ponyfill wrapping native browser fetch and node-fetch.
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 MIT License.
Releasing
- Run
yarn version --[major|minor|patch]
to bump version - Run
git push && git push --tags
to push new tag - GitHub Actions will take care of the rest