fetch-unless-cached

v1.0.3
Store fetch responses in localStorage with timers! And fetch only if the timer has expired.

prebuild

rimraf lib

pretty

prettier --write '{__tests__,src}/*.js'

build

babel src --out-dir lib

lint

eslint {__tests__,src}/*.js

test:only

npm run build && jest

test:watch

jest --watch

pretest

npm run build

test

npm run lint && npm run test:only

prepublish

npm run pretty && npm run test

postpublish

git push origin master --tags

Metadata

  • MIT
  • Whatever
  • Bhargav Ponnapalli
  • released 2/26/2018

Downloads

Maintainers