@inrupt/universal-fetch

v1.0.3
A library to access fetch from any JavaScript / TypeScript environment
fetch http https promise request curl wget xhr whatwg and 3 more...

lint

npm run lint:eslint -- --cache --fix && npm run lint:prettier -- --write

test

npm run test:unit

build

rollup --config rollup.config.mjs

clean

rimraf umd dist

lint:ci

npm run lint:eslint && npm run lint:prettier -- --check

test:unit

jest --roots src --

lint:eslint

eslint src

test:esbuild

cd e2e/browser/test-app && npm ci && npm run test:esbuild

lint:prettier

prettier '**/*.{ts,tsx,js,jsx,css,md,mdx}' --ignore-path .gitignore

prepublishOnly

npm run build

test:e2e:browser

playwright test

test:e2e:browser:setup

cd e2e/browser/test-app && npm ci
npm i @inrupt/universal-fetch

Metadata

  • MIT
  • ^14.17.0 || ^16.0.0 || ^18.0.0 || ^20.0.0
  • Unknown
  • released 8/8/2023

Downloads