New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@c2n/request-axios

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@c2n/request-axios

Migration request to axios

latest
Source
npmnpm
Version
1.0.7
Version published
Maintainers
1
Created
Source

Request-Axios

The simplest way to migrate from request library to axios library

Just, modify only one line of code.

How to use

  • Install request-axios lib
    npm install @c2n/request-axios
  • Change import request to request-axio
// Current import request
const request = require('request')

// Change to request-axios
const request = require('@c2n/request-axios')

  • Remove request dependencies from package.json

That's all.

Keywords

axios

FAQs

Package last updated on 06 Sep 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