
Security News
Bun 1.2.19 Adds Isolated Installs for Better Monorepo Support
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
@duosecurity/duo_api
Advanced tools
Auth - https://www.duosecurity.com/docs/authapi
Admin - https://www.duosecurity.com/docs/adminapi
Accounts - https://www.duosecurity.com/docs/accountsapi
Duo_api_nodejs uses the Node tls library and OpenSSL for TLS operations. All versions of Node receiving security support (14 and higher) use OpenSSL 1.1.1 which supports TLS 1.2 and 1.3.
Development:
$ git clone https://github.com/duosecurity/duo_api_nodejs.git
$ cd duo_api_nodejs
$ npm install
System:
$ npm install global @duosecurity/duo_api
Or run the following to add to your project:
$ npm install --save @duosecurity/duo_api
$ node --interactive
> const duo_api = require('duo_api');
> const client = new duo_api.Client(ikey, skey, host);
> client.jsonApiCall('POST', '/auth/v2/preauth', { username: 'testuser' }, console.log);
> { response:
{ devices: [ [Object] ],
result: 'auth',
status_msg: 'Account is active' },
stat: 'OK' }
$ npm run test
...
OK: 10 assertions (12ms)
$ npm run lint
> @duosecurity/duo_api@1.0.0 lint duo_api_nodejs
> eslint lib/ tests/
Report any bugs, feature requests, etc. to us directly: support@duosecurity.com
FAQs
Duo API SDK for Node.js applications
The npm package @duosecurity/duo_api receives a total of 7,861 weekly downloads. As such, @duosecurity/duo_api popularity was classified as popular.
We found that @duosecurity/duo_api demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
Security News
Popular npm packages like eslint-config-prettier were compromised after a phishing attack stole a maintainer’s token, spreading malicious updates.
Security News
/Research
A phishing attack targeted developers using a typosquatted npm domain (npnjs.com) to steal credentials via fake login pages - watch out for similar scams.