Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

api-reach

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

api-reach

JavaScript universal API Client that is easy, just-works and is feature rich. Based on `fetch`. WIP.

  • 0.13.0-beta.1
  • npm
  • Socket score

Version published
Weekly downloads
13
increased by30%
Maintainers
1
Weekly downloads
 
Created
Source

api-reach

JavaScript universal API Client that is easy, just-works and is feature rich. Based on fetch. WIP.

TypeScript support is limited.

Features

@TODO

TODO

Important

  • better TS support
  • methods alternative parameters input (single object instead of sequenced params)

Less important

  • cookie jar support
  • add files upload support
  • handle multiple same header
  • handle same header, different letters case
  • if using url with query params and object query params - merge them
  • add abort container wrapper, that will abort all requests in it (useful for stopping stuff for websites) [?]
  • add a lot of tests
  • audit for memory leaks or performance degrading (compared to bare fetch)

Almost not important

  • code cleanup (eliminate hardcoded values)
  • allow injecting qs methods
  • handle >= 600 statuses as unknown status
  • do not pass unknown options to fetch
  • handle unknown options (incorrect type)

License

MIT

FAQs

Package last updated on 27 Aug 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc