{"_id":"stdin-blocker","_rev":"3-5e711b87ef1c4858087576c2b0c9faa1","name":"stdin-blocker","dist-tags":{"latest":"2.0.1"},"versions":{"1.0.0":{"name":"stdin-blocker","version":"1.0.0","keywords":["cli","terminal","stdin","input","block","prevent","ignore"],"author":{"name":"Fabio Spampinato","email":"spampinabio@gmail.com"},"license":"MIT","_id":"stdin-blocker@1.0.0","maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"homepage":"https://github.com/fabiospampinato/stdin-blocker#readme","bugs":{"url":"https://github.com/fabiospampinato/stdin-blocker/issues"},"dist":{"shasum":"bd98ade2c198681a768acdf36d9bb4547e174115","tarball":"https://registry.npmjs.org/stdin-blocker/-/stdin-blocker-1.0.0.tgz","fileCount":12,"integrity":"sha512-mv7VnfbqS7Hbp4HpI2P89F8v8yW2A2lrBt1PGGiMnOttJ9SXGhvHA8FD6mynkU3JZUUfm55JyrW/+k7XxLK6mw==","signatures":[{"sig":"MEYCIQDgTRpuKVSX6R8aHNwsQ93qoDB94ovWlsJwWfNwX5cWJQIhAPhd78EbXCpu/WKa9o4AYPD+dHYHpzgga39qwUrta2CG","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8853,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiA/y6CRA9TVsSAnZWagAAuiUP/A92HjxZ6Ke7qs6nZoVF\n89vkodofsQqGynK3QYwUuZh41g9mUAxIF/WdMnxh7+PI+og51jF98jEh/fYS\noE37n14VeW3InuJ/skNpRAW4hXyVu84MdxCGPp4NL2fbmFaQMqTdda0gdMlK\nyko3cqz9MdxNEi15wrbYs326qUzuVhPRmuqn2AypxBs2iEBZMgJs5LTgZYlM\nchVCKXivymHteiohCfp/8kYGFYXodmtIxVgA1G+KGcUO7TgnQaCzQsKyPVk9\neeWRs0jFOh58frdXiVqk+dzj2OSKwkAUWDHzNFUXyR56viy85DcSaeA5qtM2\nIo2bjRCgW41EmbZDDWAcL5bt7n51p8ffhzZcCGbqw0mWtkFxdosENmfPTW29\nLs6InjGFgao8EOmiuXsNkyq+qWLfnRGBMT4LpPp9PCtQpKrO1Xldutct23SK\nOTjOrEq3di7+X0u9IeuVrlyjRxcFBGO1nr+nSi6YBxK66oRJEomN3wSzDGcT\nOVH2/9j2vTYaiBjPoj5Rb9yfTtMVRVju9MTyp6ofxS/mylwKm7Vqx4wFbhBj\nPOpRMsqn7ITxIsZTEfkkugXjUn47Iv5Pz9Q1tc6c7GTVgBXmotWrE0adlqtF\nTrEyWSbvra+TZk7/0PuLR1/QdqZy/xUMjxQj6vKxgFgLtlvWQe0zOs1PpBRU\nmsc8\r\n=YPso\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"c5f2eda7ca385d4172c7b902470238adfd39cdcf","scripts":{"test":"node test/index.js","clean":"rimraf dist","compile":"tsc --skipLibCheck && tstei","compile:watch":"tsc --skipLibCheck --watch","prepublishOnly":"npm run clean && npm run compile && npm run test"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"repository":{"url":"git+https://github.com/fabiospampinato/stdin-blocker.git","type":"git"},"_npmVersion":"8.1.0","description":"A tiny library for blocking stdin keypresses, except for ctrl+c. Useful while displaying animations.","directories":{},"_nodeVersion":"16.13.0","_hasShrinkwrap":false,"devDependencies":{"fava":"^0.0.4","rimraf":"^3.0.2","typescript":"^4.5.5","@types/node":"^17.0.16","promise-resolve-timeout":"^1.2.1","typescript-transform-export-interop":"^1.0.4"},"_npmOperationalInternal":{"tmp":"tmp/stdin-blocker_1.0.0_1644428474362_0.26821459001521375","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"stdin-blocker","version":"2.0.0","keywords":["cli","terminal","stdin","input","block","prevent","ignore"],"_id":"stdin-blocker@2.0.0","maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"homepage":"https://github.com/fabiospampinato/stdin-blocker#readme","bugs":{"url":"https://github.com/fabiospampinato/stdin-blocker/issues"},"dist":{"shasum":"91c5b3d7eb894a2492c50116ac28b610f954243f","tarball":"https://registry.npmjs.org/stdin-blocker/-/stdin-blocker-2.0.0.tgz","fileCount":12,"integrity":"sha512-fZ3txWyDSxOll6+ajX9akA5YzchyoEpVNsH8eWNY/ZnzlRoM0eW/zF8bm852KVpYutjNFQFvEF/RdZtlqxIZkQ==","signatures":[{"sig":"MEQCICRHEB7v8JsT6Wlwd6t97egBUKuDiCF+SIb6lk1C0D12AiBarO1Kh6K5bycB5PGGUJuD6u7Ot5dsVCpzvozXwmjJpA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7188,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiTfTEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrrnxAAiqP/RZpHUH6AKx2ylC6uEaPggSG3vI3Wldy++JTM9efdIlOI\r\nQq52mKPewOvsiJrsTl3IZIeHI3JJPDR1nShlGhNnFje7/iv1A+jm6eeH26VR\r\nr5Ep/CGg01TgJDxs8Z5voHbHcQ2S3kZMYR8uDoIx3MRRivyClofSiVwEDr7/\r\nJSql4Ff3crqBtymg52SFR43bo0NgoEC/IUuBP0cvTo9X35OYb3IYjjFVJbi2\r\nEYqC6M4A/bo7p11sgWe+70kVvJY8eTe96FpspxkSYuGWnaqRihVN5+L44AsA\r\n2xg1RkNHYHihHsmn186KabqAZedM6rIZncSlg+0WHNMtzZ2x+V/O+IoAK/XE\r\nstJ3IKaT3fjyXGkVUO/s5ewn+DhcwD5Gu3KzP+usa65xILueu89bU0R8RzMa\r\nkcdrEG0XHrnhVD+NH2+73mQNTM2UvyX6tJmK86gGsOeSnfIC0Aa7NPcBAXK7\r\nv8bOGJAUnxxH6yZf8Ldzg7grX+3xs9KkP8PeZx8e2IdVQufej9/bfgwsmrUV\r\n7yO4X/nWHNPC8ryRW0+zjGxF5cqimo81P5GLI31DI+sP8gJ0q9M8F0fVM8cU\r\nKaMvlITZ5jOGkWsAytsKTgdWycR7vyzEsaYwvN/SgZ5olp2e4uu8D8y5F+rv\r\n3s1WF2ll6C59v3fV8w5IdC5zFxRvwRJKlmU=\r\n=kBCL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","exports":"./dist/index.js","gitHead":"48c505ff10ee58a32fedc73a8c4870102a2d73e9","scripts":{"test":"node test/index.js","clean":"tsex clean","compile":"tsex compile","compile:watch":"tsex compile --watch","prepublishOnly":"npm run clean && npm run compile && npm run test"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"repository":{"url":"git+https://github.com/fabiospampinato/stdin-blocker.git","type":"git"},"_npmVersion":"8.1.0","description":"A tiny library for blocking stdin keypresses, except for ctrl+c. Useful while displaying animations.","directories":{},"_nodeVersion":"16.13.0","_hasShrinkwrap":false,"devDependencies":{"fava":"^0.0.6","tsex":"^1.0.6","typescript":"^4.6.3","@types/node":"^17.0.23"},"_npmOperationalInternal":{"tmp":"tmp/stdin-blocker_2.0.0_1649276100169_0.7753027061302378","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"stdin-blocker","repository":{"type":"git","url":"git+https://github.com/fabiospampinato/stdin-blocker.git"},"description":"A tiny library for blocking stdin keypresses, except for Ctrl+C. Useful while displaying animations.","license":"MIT","version":"2.0.1","type":"module","main":"dist/index.js","exports":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"clean":"tsex clean","compile":"tsex compile","compile:watch":"tsex compile --watch","test":"node test/index.js","prepublishOnly":"npm run clean && npm run compile && npm run test"},"keywords":["cli","terminal","stdin","input","block","prevent","ignore"],"devDependencies":{"@types/node":"^18.19.70","fava":"^0.3.4","tsex":"^4.0.2","typescript":"^5.7.3"},"_id":"stdin-blocker@2.0.1","gitHead":"56c8a2f5bb2147202fb980dab141f63f710b4156","bugs":{"url":"https://github.com/fabiospampinato/stdin-blocker/issues"},"homepage":"https://github.com/fabiospampinato/stdin-blocker#readme","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-NEcAEpag+gE/Iivx1prq1AFPwnmgmcyHNvGZLUqGBoOE/7DZtmhtP9iYqJt8ymueFL+kknhfEebAMWbrWp3FJw==","shasum":"a43c753e119ce63f55a24b16c139e4bc92a1a2c4","tarball":"https://registry.npmjs.org/stdin-blocker/-/stdin-blocker-2.0.1.tgz","fileCount":7,"unpackedSize":4566,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCUs1Fv/bU6MNVhYfInUV0UeG/sGb8VpXMSk/DkVgV1ywIhAIIEdWcw7V0Oz7WFpVC5SR9mjFY9p7M+NYuHmkKz9FiK"}]},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"directories":{},"maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/stdin-blocker_2.0.1_1736641230091_0.8915212679313509"},"_hasShrinkwrap":false}},"time":{"created":"2022-02-09T17:41:14.361Z","modified":"2025-01-12T00:20:30.449Z","1.0.0":"2022-02-09T17:41:14.501Z","2.0.0":"2022-04-06T20:15:00.377Z","2.0.1":"2025-01-12T00:20:30.284Z"},"bugs":{"url":"https://github.com/fabiospampinato/stdin-blocker/issues"},"homepage":"https://github.com/fabiospampinato/stdin-blocker#readme","keywords":["cli","terminal","stdin","input","block","prevent","ignore"],"repository":{"type":"git","url":"git+https://github.com/fabiospampinato/stdin-blocker.git"},"description":"A tiny library for blocking stdin keypresses, except for Ctrl+C. Useful while displaying animations.","maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"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 (); // => false, stdin input is not blocked\n\nBlocker.block ();\n\nBlocker.isBlocked (); // => true, stdin input is blocked\n\nBlocker.unblock ();\n\nBlocker.isBlocked (); // => false, stdin input is not blocked\n\nBlocker.toggle ();\n\nBlocker.isBlocked (); // => true, stdin input is blocked\n```\n\n## License\n\nMIT © Fabio Spampinato\n","readmeFilename":"readme.md","license":"MIT"}