Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

keypress-prompt

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

keypress-prompt - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

2

package.json
{
"name": "keypress-prompt",
"description": "prompts with a single keypress response",
"version": "0.3.1",
"version": "0.3.2",
"main": "src/keypress-prompt.js",

@@ -6,0 +6,0 @@ "dependencies": {

@@ -10,3 +10,3 @@ # keypress-prompt [![Build Status](https://travis-ci.org/cymen/node-keypress-prompt.png?branch=master)](https://travis-ci.org/cymen/node-keypress-prompt)

* automatically lowercases the answer to avoid any issue with case
* trigged on a single keypress (no need to press enter)
* triggered on a single keypress (no need to press enter)
* limited to single character choices

@@ -13,0 +13,0 @@ * does work with numeric choices and attempts to coerce input to choice type

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