This package has been deprecated

Author message:

fetx-rest was migrated to fetch-plus-rest

fetx-rest

2.0.0 • Public • Published

fetch-rest

The easiest and best way to create a REST API Client Library.

🆘 Help this project by conttributing to its documentation or developing its roadmap.

Features

Setup

  • [x] Multi-level endpoints
  • [x] Parent path inheritance
  • [x] Endpoints configuration file powered by enx

Middlewares

  • [x] Automatic authorization headers setup (Basic credentials and Bearer token) - per endpoint and per endpoint group
  • [x] Supports credentials stored in localStorage, sessionStorage, cookies or custom storage
  • [x] Custom middleware support (a.k.a. ✨interceptors) powered by fetch-plus

Utilities

  • [x] Easy querystring serialization with query property
  • [x] HTTP verbs shorthand methods
  • [x] CRUD and BREAD shorthand methods

Infrastructure

  • [x] Cross-browser & Node Fetch API (powered by cross-fetch)
  • [x] Custom fetch library

*Not checked features are in roadmap.

Readme

Keywords

none

Package Sidebar

Install

npm i fetx-rest

Weekly Downloads

0

Version

2.0.0

License

MIT

Unpacked Size

14.7 kB

Total Files

10

Last publish

Collaborators

  • ggondim