New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

duo-api

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

duo-api

Duosecurity API Client

  • 1.2.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
487
increased by14.59%
Maintainers
1
Weekly downloads
 
Created
Source

Duosecurity Node Client

NPM


Quick Start

First:

npm install duo-api

Then:

var Client = require('duo-api');

Then: Create a Client.

Finally: Make a request.

Reporting Issues

Something not working? Found a bug? Got a question? Feature request? Open an issue and we'll get on it!

Development

We love contributions and will gladly accept yours! Here's how you can contribute:

  1. Fork the repo.
  2. Make your changes.
  3. Add tests as needed.
  4. Submit a pull request.

Testing

To run the tests on your local machine, create three environment variables:

  • DUO_API_HOST: Duo api host.
  • DUO_API_IKEY: Duo api integration key.
  • DUO_API_SKEY: Duo api secret key.

After setting the environment variables, run gulp test.

git clone git@github.com:BYU-OIT/node-duo-api.git # Or your own fork.
cd node-duo-api/
export DUO_API_HOST=api-XXXXXXXX.duosecurity.com
export DUO_API_IKEY=XXXXXXXXXXXXXXXXXXXX
export DUO_API_SKEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
npm install -g gulp # If you don't have gulp installed already.
npm install # Install dependencies.
gulp test

You can have gulp run the tests on any code change by running gulp watch in the root of the repository.

Contributors

Thanks to the following awesome people for helping make this module better! =>

Keywords

FAQs

Package last updated on 16 May 2019

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