Socket
Socket
Sign inDemoInstall

@odata2ts/http-client-api

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @odata2ts/http-client-api

Specifies the contract between HTTP clients and odata2ts


Version published
Weekly downloads
3.2K
increased by13.61%
Maintainers
1
Install size
12.8 kB
Created
Weekly downloads
 

Readme

Source

npm (scoped)

HTTP Client API

Defines the contract between odata2ts and any HTTP client implementation.

The responsibilities of the HTTP Client are:

  • HTTP request execution
  • mapping responses to conventionalized structures
  • custom request configuration (optional)
  • automatic CSRF Token Handling (optional)

Features like optimistic locking (via ETag) or batch requests are currently not in scope of the HTTP client and may never be.

Documentation

HTTP Client Documentation

Main documentation for the odata2ts eco system: https://odata2ts.github.io

Tests

As this library provides the API as TypeScript types, there are no runtime artefacts to test.

Support, Feedback, Contributing

This project is open to feature requests, suggestions, bug reports, usage questions etc. via GitHub issues.

Contributions and feedback are encouraged and always welcome.

See the contribution guidelines for further information.

Spirit

This project and this module have been created and are maintained in the following spirit:

  • adhere to the OData specification as much as possible
    • support any OData service implementation which conforms to the spec
    • allow to work around faulty implementations if possible
  • stability matters
    • exercise Test Driven Development
    • bomb the place with unit tests (code coverage > 95%)
    • ensure that assumptions & understanding are correct by creating integration tests

License

MIT - see License.

Keywords

FAQs

Last updated on 13 Sep 2023

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc