read-cli-input
Advanced tools
Comparing version
{ | ||
"name": "read-cli-input", | ||
"version": "0.0.0", | ||
"description": "Read user input from CLI for specified amount of lines.", | ||
"version": "0.0.1-security", | ||
"description": "", | ||
"main": "index.js", | ||
"keywords": [ | ||
"io", | ||
"read", | ||
"cli", | ||
"prompt" | ||
], | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"repository": { | ||
"url": "git@github.com:azer/read-cli-input.git", | ||
"type": "git" | ||
"type": "git", | ||
"url": "git+https://github.com/npm/security-holder.git" | ||
}, | ||
"author": "azer", | ||
"license": "BSD", | ||
"dependencies": { | ||
"on-key-press": "0.0.0" | ||
} | ||
} | ||
"keywords": [], | ||
"author": "", | ||
"license": "ISC", | ||
"bugs": { | ||
"url": "https://github.com/npm/security-holder/issues" | ||
}, | ||
"homepage": "https://github.com/npm/security-holder#readme" | ||
} |
@@ -1,35 +0,9 @@ | ||
## read-cli-input | ||
# Security holding package | ||
Read user input from CLI for specified amount of lines. | ||
This package name is not currently in use, but was formerly occupied | ||
by a popular package. To avoid malicious use, npm is hanging on to | ||
the package name, but loosely, and we'll probably give it to you if | ||
you want it. | ||
## Install | ||
```bash | ||
$ npm install read-cli-input | ||
``` | ||
## Usage | ||
```js | ||
var read = require('read-cli-input') | ||
console.log("What are your most favorite 3 food ?"); | ||
read(3, function (input) { | ||
console.log('Answer was: ', input.join(', ')); | ||
// => Answer was Falafel, ramen, babi guling | ||
}) | ||
``` | ||
By default, it reads from `process.stdin`. You can specify custom IO if you pass | ||
three arguments; | ||
```js | ||
read(process.stdin, 3, console.log); | ||
``` | ||
If you'll read just one line from process.stdin, you can just pass a callback: | ||
``` | ||
read(console.log); | ||
``` | ||
You may adopt this package by contacting support@npmjs.com and | ||
requesting the name. |
Known malware
Supply chain riskThis package is malware. We have asked the package registry to remove it.
Found 1 instance in 1 package
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
Misc. License Issues
License(Experimental) A package's licensing information has fine-grained problems.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
0
-100%0
-100%0
-100%807
-61.28%2
-60%0
-100%10
-72.22%1
Infinity%1
Infinity%- Removed
- Removed
- Removed