axios-debug-log
Advanced tools
Comparing version 0.8.2 to 0.8.3
{ | ||
"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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8305
93