node-fetch-cookie-native
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

node-fetch-cookie-native

This package is a simple wrapper for node-fetch-native and fetch-cookie. It use conditional import to reduce bundle size. Its behaviour will be like:

  • In browser, fetch with credentials: 'include'
  • In node (>=18), native fetch with fetch-cookie
  • In node (<18), node-fetch with fetch-cookie

Readme

Keywords

none

Package Sidebar

Install

npm i node-fetch-cookie-native

Weekly Downloads

16

Version

0.0.2

License

MIT

Unpacked Size

8.27 kB

Total Files

10

Last publish

Collaborators

  • asakuramizu