input-shell 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/package.json +1 -4
package/README.md
CHANGED
@@ -3,7 +3,7 @@ python like `input` function using input-shell in nodejs
|
|
3
3
|
|
4
4
|
```
|
5
5
|
|
6
|
-
var { input } = require(input-
|
6
|
+
var { input } = require(input-shell);
|
7
7
|
|
8
8
|
// Example usage:
|
9
9
|
input("Input Text: ")
|
@@ -22,7 +22,7 @@ input("Input Text: ")
|
|
22
22
|
|
23
23
|
```
|
24
24
|
|
25
|
-
var { inputSelect } = require(input-
|
25
|
+
var { inputSelect } = require(input-shell);
|
26
26
|
|
27
27
|
// Example usage: checkboxes
|
28
28
|
inputSelect(
|
@@ -38,7 +38,7 @@ inputSelect(
|
|
38
38
|
|
39
39
|
```
|
40
40
|
|
41
|
-
var { inputSelect } = require(input-
|
41
|
+
var { inputSelect } = require(input-shell);
|
42
42
|
|
43
43
|
// Example usage: radio button
|
44
44
|
inputSelect(
|
@@ -54,7 +54,7 @@ inputSelect(
|
|
54
54
|
|
55
55
|
```
|
56
56
|
|
57
|
-
var { inputSelectMultiple } = require(input-
|
57
|
+
var { inputSelectMultiple } = require(input-shell);
|
58
58
|
|
59
59
|
// Example usage: Multiple questions with Radio, Checkbox, and Text answers
|
60
60
|
const questions = [
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "input-shell",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.1",
|
4
4
|
"description": "python like input function using input-shell in nodejs",
|
5
5
|
"main": "index.js",
|
6
6
|
"directories": {
|
@@ -12,8 +12,6 @@
|
|
12
12
|
"devDependencies": {
|
13
13
|
"chai": "^5.1.2",
|
14
14
|
"mocha": "^11.1.0",
|
15
|
-
"package1": "^0.0.0",
|
16
|
-
"package2": "^1.0.0",
|
17
15
|
"sinon": "^19.0.2"
|
18
16
|
},
|
19
17
|
"keywords": [
|
@@ -27,6 +25,5 @@
|
|
27
25
|
"author": "Ganesh Bhat <cgijs@gmail.com>",
|
28
26
|
"license": "MIT",
|
29
27
|
"dependencies": {
|
30
|
-
"input": "^1.0.1"
|
31
28
|
}
|
32
29
|
}
|