Socket
Socket
Sign inDemoInstall

request-ntlm-lite

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

request-ntlm-lite

NTLM auth for NodeJS - continued from Colyn Brown's project


Version published
Maintainers
1
Created
Source

Request-NTLM-lite

Build Status dependencies Status devDependencies Status Known Vulnerabilities

An ntlm authentication wrapper for the Request module, fork of (request-ntlm-continued).

Install with NPM

$ npm install --save-dev request-ntlm-lite

Usage

var ntlm = require('request-ntlm-lite');

var opts = {
  username: 'username',
  password: 'password',
  ntlm_domain: 'yourdomain',
  workstation: 'workstation',
  url: 'http://example.com/path/to/resource'
};
var json = {
  // whatever object you want to submit
};
ntlm.post(opts, json, function(err, response) {
  // do something
});

Requests can also be streamed:

ntlm.get(opts, json, null, fs.createWriteStream('example.pdf'));

Changes from original

  • Less dependencies
  • Refactor
  • Fix errors

Keywords

FAQs

Package last updated on 12 Sep 2018

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