Comparing version 1.0.0 to 1.0.1
{ | ||
"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`. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4178