{"id":32567246,"url":"https://github.com/zewish/clikey","last_synced_at":"2026-05-17T15:06:06.225Z","repository":{"id":53460809,"uuid":"99553466","full_name":"zewish/clikey","owner":"zewish","description":"Prompts for a single keypress in a node.js CLI app","archived":false,"fork":false,"pushed_at":"2021-03-30T08:08:27.000Z","size":20,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-29T05:59:42.826Z","etag":null,"topics":["cli","keypress","nodejs","prompt"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zewish.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-07T08:09:45.000Z","updated_at":"2021-03-31T06:25:25.000Z","dependencies_parsed_at":"2022-09-16T14:51:15.186Z","dependency_job_id":null,"html_url":"https://github.com/zewish/clikey","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/zewish/clikey","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zewish%2Fclikey","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zewish%2Fclikey/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zewish%2Fclikey/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zewish%2Fclikey/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zewish","download_url":"https://codeload.github.com/zewish/clikey/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zewish%2Fclikey/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33143276,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T09:28:26.183Z","status":"ssl_error","status_checked_at":"2026-05-17T09:27:52.702Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["cli","keypress","nodejs","prompt"],"created_at":"2025-10-29T05:59:37.845Z","updated_at":"2026-05-17T15:06:06.181Z","avatar_url":"https://github.com/zewish.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## clikey\n\nPrompts for a single keypress in a node.js CLI app\n\n#### Usage\n```javascript\n#!/usr/bin/env node\nconst clikey = require('clikey');\n\n(async () =\u003e {\n  const answer = await clikey('Are you sure? [y/N]');\n  // answer received when a single key is pressed\n\n  if (answer.toLowerCase() === 'y') {\n    return console.log('You said YES!!!');\n  }\n\n  console.log('You said NO');\n})();\n```\n\n#### Install\n```bash\n$ npm install --save clikey\n```\n\n#### Test\n```bash\n$ npm install \u0026\u0026 npm test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzewish%2Fclikey","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzewish%2Fclikey","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzewish%2Fclikey/lists"}