@cooperwfloyd/fancyfetch

v1.0.0
A simple, lightweight and isomorphic extension of the Fetch API that allows for graceful error handling and response validation, automatic retries, and the ability to bring your own Fetch API package.
fetch client browser server client-side server-side async await validate and 41 more...

build

npm run test && npm run compile

clean

rm -rf ./dist && npm run test && npm run prettier

compile

swc ./src/* --out-dir ./dist

prepublishOnly

npm i && npm run build

prepare

husky install

prettier

npx prettier --write .

start

NODE_ENV='production' node --es-module-specifier-resolution=node "./dist/test/index.js"

test

npx eslint "./src/**/*.js" "./src/*.js" --max-warnings=0 --fix
npm i @cooperwfloyd/[email protected]

Metadata

  • ISC
  • >=16.15.0 <19
  • Cooper Floyd
  • released 3/10/2023

Downloads

Maintainers