Nearsighted Prank Master
Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

request-ntlm-lite

0.2.4 • Public • Published

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

install

npm i request-ntlm-lite

Downloadsweekly downloads

18

version

0.2.4

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability