Socket
Socket
Sign inDemoInstall

listen-in

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

listen-in - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name": "listen-in",
"version": "1.0.0",
"version": "1.0.1",
"description": "Promise based STDIN listener for node applications",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -14,2 +14,8 @@ listen-in

## Options
- `envToken [String]`: add value to `process.env` under this name. (_default `null`_)
- `message [String]`: Message to prompt user with. (_default `null`_)
- `insecure [Boolean]`: Passes user input into the `then`.
## Basic Use

@@ -37,3 +43,3 @@

dbUser: 'username',
dbPassword: await listn({ insecure: true, message: 'Database Password: ' })
dbPassword: await lstn({ insecure: true, message: 'Database Password: ' })
});

@@ -54,7 +60,1 @@ ```

```
## Options
- `envToken [String]`: add value to `process.env` under this name. (_default `null`_)
- `message [String]`: Message to prompt user with. (_default `null`_)
- `insecure [Boolean]`: Passes user input into the `then`.
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