🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

axios-ntlm

Package Overview
Dependencies
Maintainers
1
Versions
24
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.4.4
latest
Source
npm
Version published
Weekly downloads
393K
-8.94%
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

Keywords

axios

FAQs

Package last updated on 21 Mar 2025

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