{"id":16948919,"url":"https://github.com/technicalpickles/node-duo-api","last_synced_at":"2026-05-11T02:20:59.921Z","repository":{"id":66023020,"uuid":"49602056","full_name":"technicalpickles/node-duo-api","owner":"technicalpickles","description":"Node client for the duosecurity api.","archived":false,"fork":false,"pushed_at":"2016-01-13T21:40:08.000Z","size":82,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-15T00:29:59.770Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/technicalpickles.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-13T21:11:05.000Z","updated_at":"2016-01-13T21:11:06.000Z","dependencies_parsed_at":"2023-03-17T22:00:22.907Z","dependency_job_id":null,"html_url":"https://github.com/technicalpickles/node-duo-api","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technicalpickles%2Fnode-duo-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technicalpickles%2Fnode-duo-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technicalpickles%2Fnode-duo-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technicalpickles%2Fnode-duo-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/technicalpickles","download_url":"https://codeload.github.com/technicalpickles/node-duo-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244776338,"owners_count":20508506,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T21:52:41.724Z","updated_at":"2026-05-11T02:20:59.883Z","avatar_url":"https://github.com/technicalpickles.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Duosecurity Node Client [![Build Status](https://travis-ci.org/byu-oit-appdev/node-duo-api.svg?branch=master)](https://travis-ci.org/byu-oit-appdev/node-duo-api)\n\n[![NPM](https://nodei.co/npm/duo-api.png?downloads=true\u0026downloadRank=true\u0026stars=true)](https://nodei.co/npm/duo-api/)\n\n- [Quick Start](#quick-start)\n- [API Reference and examples](API.md)\n- [Reporting Issues](#reporting-issues)\n- [Development](#development)\n  - [Testing](#testing)\n\n---\n\n# Quick Start\n\nFirst:\n\n```bash\nnpm install duo-api\n```\n\nThen:\n\n```js\nvar Client = require('duo-api');\n```\nThen: [Create a `Client`](API.md/#new-clientconfig---client).\n\nFinally: [Make a request](API.md/#requestmethod-path-params-function-cberror-response---promise).\n\n# Reporting Issues\n\nSomething not working? Found a bug? Got a question? Feature request? [Open an issue](https://github.com/BYU-OIT/node-duo-api/issues/new) and we'll get on it!\n\n# Development\n\nWe love contributions and will gladly accept yours! Here's how you can contribute:\n\n1. Fork the repo.\n2. Make your changes.\n3. Add tests as needed.\n4. Submit a pull request.\n\n## Testing\n\nTo run the tests on your local machine, create three environment variables:\n \n- `DUO_API_HOST`: Duo api host. \n- `DUO_API_IKEY`: Duo api integration key.\n- `DUO_API_SKEY`: Duo api secret key.\n\nAfter setting the environment variables, run `gulp test`.\n\n```bash\ngit clone git@github.com:BYU-OIT/node-duo-api.git # Or your own fork.\ncd node-duo-api/\nexport DUO_API_HOST=api-XXXXXXXX.duosecurity.com\nexport DUO_API_IKEY=XXXXXXXXXXXXXXXXXXXX\nexport DUO_API_SKEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\nnpm install -g gulp # If you don't have gulp installed already.\nnpm install # Install dependencies.\ngulp test\n```\n\nYou can have gulp run the tests on any code change by running `gulp watch` in the root of the repository.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechnicalpickles%2Fnode-duo-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechnicalpickles%2Fnode-duo-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechnicalpickles%2Fnode-duo-api/lists"}