{"id":22221937,"url":"https://github.com/fabiospampinato/stdin-blocker","last_synced_at":"2026-02-17T21:36:51.226Z","repository":{"id":57370446,"uuid":"457464951","full_name":"fabiospampinato/stdin-blocker","owner":"fabiospampinato","description":"A tiny library for blocking stdin keypresses, except for ctrl+c. Useful while displaying animations.","archived":false,"fork":false,"pushed_at":"2025-01-12T00:20:32.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-13T06:32:16.016Z","etag":null,"topics":["block","cli","ignore","input","prevent","stdin","terminal"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"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/fabiospampinato.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"fabiospampinato","custom":"https://www.paypal.me/fabiospampinato"}},"created_at":"2022-02-09T17:41:16.000Z","updated_at":"2025-01-12T00:20:36.000Z","dependencies_parsed_at":"2024-08-23T01:11:35.624Z","dependency_job_id":"1d4d0eda-5cfe-443e-bf02-39d53934ef9d","html_url":"https://github.com/fabiospampinato/stdin-blocker","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"3ba138a452bdad9d8faa234e61bee062aa9d10dc"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/fabiospampinato/stdin-blocker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiospampinato%2Fstdin-blocker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiospampinato%2Fstdin-blocker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiospampinato%2Fstdin-blocker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiospampinato%2Fstdin-blocker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fabiospampinato","download_url":"https://codeload.github.com/fabiospampinato/stdin-blocker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiospampinato%2Fstdin-blocker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29558720,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T20:52:40.164Z","status":"ssl_error","status_checked_at":"2026-02-17T20:48:10.325Z","response_time":100,"last_error":"SSL_read: 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":["block","cli","ignore","input","prevent","stdin","terminal"],"created_at":"2024-12-02T23:16:17.694Z","updated_at":"2026-02-17T21:36:46.210Z","avatar_url":"https://github.com/fabiospampinato.png","language":"TypeScript","funding_links":["https://github.com/sponsors/fabiospampinato","https://www.paypal.me/fabiospampinato"],"categories":[],"sub_categories":[],"readme":"# Stdin Blocker\n\nA tiny library for blocking stdin keypresses, except for Ctrl+C. Useful while displaying animations.\n\n## Install\n\n```sh\nnpm install stdin-blocker\n```\n\n## Usage\n\n```ts\nimport Blocker from 'stdin-blocker';\n\nBlocker.isBlocked (); // =\u003e false, stdin input is not blocked\n\nBlocker.block ();\n\nBlocker.isBlocked (); // =\u003e true, stdin input is blocked\n\nBlocker.unblock ();\n\nBlocker.isBlocked (); // =\u003e false, stdin input is not blocked\n\nBlocker.toggle ();\n\nBlocker.isBlocked (); // =\u003e true, stdin input is blocked\n```\n\n## License\n\nMIT © Fabio Spampinato\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabiospampinato%2Fstdin-blocker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffabiospampinato%2Fstdin-blocker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabiospampinato%2Fstdin-blocker/lists"}