fetch-tools

Set of utilities for JS Fetch API

APACHE-2.0 License

Downloads
884
Stars
6

Bot releases are hidden (Show)

fetch-tools - 0.0.16 Latest Release

Published by krutoo 6 months ago

Minor changes

  • middleware/proxy: pathRewrite option added (#6)
  • JSR publish workflow added (#5)

Patch changes

  • middleware/proxy: remove console.log calls from middleware (#6)
  • removed redundant step from NPM publish workflow (#5)

Full Changelog: https://github.com/krutoo/fetch-tools/compare/0.0.15...0.0.16

fetch-tools - 0.0.15

Published by krutoo 6 months ago

Minor changes

Full Changelog: https://github.com/krutoo/fetch-tools/compare/0.0.14...0.0.15

fetch-tools - 0.0.14

Published by krutoo 7 months ago

Minor changes

  • server: route.all() method added (#3)
  • server: route.patch() method added (#3)

Full Changelog: https://github.com/krutoo/fetch-tools/compare/0.0.13...0.0.14

fetch-tools - 0.0.13

Published by krutoo 7 months ago

BREAKING changes

  • all cookie utils is removed, see readme for details (#2)

Minor changes

  • proxy middleware added for server handlers (#2)
  • validateStatus dump added by default (#2)

Patch changes

  • project source moved from npm to deno (#2)

Full Changelog: https://github.com/krutoo/fetch-tools/compare/0.0.12...0.0.13

fetch-tools - 0.0.12

Published by krutoo 8 months ago

Minor changes

  • server: function route now accepts function as first argument
  • server: function route now has methods for simply checking request method (check readme)

Full Changelog: https://github.com/krutoo/fetch-tools/compare/0.0.11...0.0.12

fetch-tools - 0.0.11

Published by krutoo 12 months ago

Patch changes

  • utils: createCookieStore now handles empty cookie value correctly
  • some unit tests added for createCookieStore
  • build fix for except test files

Full Changelog: https://github.com/krutoo/fetch-tools/compare/0.0.10...0.0.11

fetch-tools - 0.0.10

Published by krutoo 12 months ago

Patch changes

  • trying to fix ESM version of pkg (add file extensions in import specifiers)
fetch-tools - 0.0.9

Published by krutoo about 1 year ago

  • fix(utlis): createCookieStore now returns store that calls listeners when setCookie called

Full Changelog: https://github.com/krutoo/fetch-tools/compare/0.0.8...0.0.9

fetch-tools - 0.0.8

Published by krutoo about 1 year ago

  • notFound removed
  • CookieStore now has subscribe method

Full Changelog: https://github.com/krutoo/fetch-tools/compare/0.0.7...0.0.8

fetch-tools - 0.0.7

Published by krutoo over 1 year ago

  • Trying to fix Node.js support (esm & cjs)
fetch-tools - 0.0.6

Published by krutoo over 1 year ago

  • validateStatus: callback now accepts request and response after status
fetch-tools - 0.0.5

Published by krutoo over 1 year ago

  • duplicate interface Handler removed from ./server
fetch-tools - 0.0.4

Published by krutoo over 1 year ago

  • validateStatus now accepts options in second argument
  • RequestFunction renamed to Handler and now exported from package root
fetch-tools - 0.0.3

Published by krutoo over 1 year ago

  • route and router functions is here for server usage
  • response utility functions added: html, json, notFound
  • baseURL removed (maybe temporarily)
  • enhancer now accepts and returns RequestFunction
  • LogHandler methods renamed for more intuitive server usage
fetch-tools - 0.0.2

Published by krutoo over 1 year ago

Package content fix ("dist" folder added)

fetch-tools - 0.0.1

Published by krutoo over 1 year ago

First version with basic features