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

axios-debug-log

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

axios-debug-log - npm Package Compare versions

Comparing version 0.8.2 to 0.8.3

6

package.json
{
"name": "axios-debug-log",
"version": "0.8.2",
"version": "0.8.3",
"description": "Axios interceptor of logging requests & responses by debug.",

@@ -38,7 +38,7 @@ "main": "index.js",

"axios": ">=0.17.0",
"mocha": "^8.0.1",
"mocha": "^9.0.2",
"nyc": "^15.0.0",
"should": "^13.1.3",
"should-sinon": "0.0.6",
"sinon": "^9.0.0",
"sinon": "^11.1.1",
"standard": "^16.0.1",

@@ -45,0 +45,0 @@ "typescript": "^4.0.2"

@@ -19,10 +19,28 @@ # axios-debug-log

1. Install: add `require('axios-debug-log')` before any axios execution.
2. Enable: set `DEBUG=axios` environment variables before start your fantastic Node.js application.
> 1. Install: add `require('axios-debug-log')` before any axios execution.
> 2. Enable: set `DEBUG=axios` environment variables before start your fantastic Node.js application.
Or
> Add `require('axios-debug-log/enable')` before any axios execution
> to install and enable.
Or
> Run DEBUG=axios node --require axios-debug-log \[entrypoint.js\]
Or
> Run node --require axios-debug-log/enable \[entrypoint.js\]
## Browser usage
1. Install: add `require('axios-debug-log')` before any axios execution.
2. Enable: set `localStorage.debug = "axios"` before start your fantastic web application.
> 1. Install: add `require('axios-debug-log')` before any axios execution.
> 2. Enable: set `localStorage.debug = "axios"` before start your fantastic web application.
Or
> Add `require('axios-debug-log/enable')` before any axios execution
> to install and enable.
Please read [README of debug](https://github.com/visionmedia/debug#readme) for usage details.

@@ -29,0 +47,0 @@

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