@lichtblick/just-fetch
v1.0.0
Published
Isomorphic ponyfill wrapping native browser fetch and node-fetch
Downloads
3
Readme
@lichtblick/just-fetch
Isomorphic ponyfill wrapping native browser fetch and node-fetch.
Usage
import fetch from "@lichtblick/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
@lichtblick/just-fetch is licensed under the 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