@cooperwfloyd/fancyfetch

v1.1.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 37 more...

build

npm run clean && npm run compile

clean

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

compile

swc ./src/* --out-dir ./dist && npm run copyTypes

copyTypes

copyfiles -u 1 "src/*.d.ts" "src/**/*.d.ts" "dist"

prepublishOnly

npm i && npm run build

prepare

husky install

prettier

npx prettier --write .

test

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

Metadata

  • ISC
  • >=16.15.0 <19
  • Cooper Floyd
  • released 4/2/2023

Downloads

Maintainers