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

axios-ntlm

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

axios-ntlm

An NTLM auth extension to the Axios HTTP library

  • 1.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
123K
decreased by-59.1%
Maintainers
1
Weekly downloads
 
Created

What is axios-ntlm?

The axios-ntlm package is an HTTP client for Node.js that extends the popular axios library to support NTLM (NT LAN Manager) authentication. This is particularly useful for making HTTP requests to servers that require NTLM authentication, such as certain enterprise environments and legacy systems.

What are axios-ntlm's main functionalities?

NTLM Authentication

This feature allows you to make HTTP requests with NTLM authentication. The code sample demonstrates how to configure an axios instance with NTLM credentials and make a GET request to a protected resource.

const axios = require('axios');
const axiosNtlm = require('axios-ntlm');

const ntlmOptions = {
  username: 'your-username',
  password: 'your-password',
  domain: 'your-domain'
};

const instance = axios.create();
axiosNtlm(instance, ntlmOptions);

instance.get('http://example.com/protected-resource')
  .then(response => {
    console.log(response.data);
  })
  .catch(error => {
    console.error(error);
  });

Other packages similar to axios-ntlm

FAQs

Package last updated on 01 Feb 2021

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

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