UNPKG

node-expose-sspi-strict

Version:

Expose the Microsoft Windows SSPI interface in order to do NTLM and Kerberos authentication.

10 lines (7 loc) 331 B
const fs = require('fs'); const path = require('path'); const projectDir = path.resolve(__dirname, '..'); const orig = path.resolve(projectDir, './build/Release/api.node'); const dest = path.resolve(projectDir, `./lib/arch/${process.arch}/api.node`); console.log(`about to move to: ${dest}`); fs.renameSync(orig, dest);