New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

axios-for-observable

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

axios-for-observable

axios wrapper for rxjs

latest
Source
npmnpm
Version
0.0.9
Version published
Maintainers
1
Created
Source

axios-for-observable

Observable (as opposed to Promise) based HTTP client for the browser and node.js

Want to use axios in a rxjs (observable) way? There we go!

This API of axios-for-observable is same as API of axios, giving you smooth transition. So the documentation mirrors the one of axios (A few exceptions will be cleared pointed out).

Features

  • The same api with axios
  • Make XMLHttpRequests from the browser
  • Make http requests from node.js
  • Supports the Observable API
  • Intercept request and response
  • Transform request and response data
  • Cancel requests through unsubscribe
  • Automatic transforms for JSON data
  • Client side support for protecting against XSRF
  • Strong support for typescript

Installing

Using npm: note: axios and rxjs are peer dependencies.

$ npm install axios rxjs axios-for-observable

Keywords

axios

FAQs

Package last updated on 14 Jan 2022

Related posts