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

axios-easy-auth

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

axios-easy-auth - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

package.json
{
"name": "axios-easy-auth",
"version": "1.0.2",
"version": "1.0.3",
"description": "Modified axios with a simple addition of headers",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -27,4 +27,3 @@ <h1>Were there any problems adding headers to the request?</h1>

<p>
`const auth = new EasyAuth('http://site.com', 'Bearer ey251txcfhjguuy45tyhjafduv7ucshnfd')`
<code>const auth = new EasyAuth('http://site.com', 'Bearer ey251txcfhjguuy45tyhjafduv7ucshnfd')</code>
<pre>`const auth = new EasyAuth('http://site.com', 'Bearer ey251txcfhjguuy45tyhjafduv7ucshnfd')`</pre>
Для начала нужно создать класс EasyAuth. Параметрами принимает url сайта, access токен.

@@ -31,0 +30,0 @@ </p>

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