How to use the httpntlm.get function in httpntlm

To help you get started, we’ve selected a few httpntlm examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github nrkno / odashboard / httpclient.js View on Github external
return new Promise(function (resolve, reject) {
    ntlm.get(opts, function (err, response) {
      if (err) {
      } else {
        if (response.statusCode == 401) {
          reject(Error('Not authenicated.'));
        } else {
            response: response,
            body: response.body


httpntlm is a Node.js library to do HTTP NTLM authentication

Latest version published 10 months ago

Package Health Score

71 / 100
Full package analysis