Skip to content
Draft
Changes from 2 commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
b10a24a
feat: Add right rails work in progress
imbhargav5 Mar 15, 2019
9538231
feat: Add right rails on desktop
imbhargav5 Apr 4, 2019
8adb53a
fix: Prettier
imbhargav5 Apr 4, 2019
e259559
fix: Update styles as per review
imbhargav5 Apr 10, 2019
f849ca9
fix: Prettier formatting
imbhargav5 Apr 10, 2019
59ba33e
docs: add more info about environment
aymen94 Apr 24, 2019
879aaf2
remove duplicate line and add module dotenv
aymen94 Apr 27, 2019
afd36e5
change word
aymen94 Apr 28, 2019
fb229ad
remove word
BeniCheni Apr 30, 2019
0f90528
fix word
aymen94 Jun 9, 2019
c22fcf9
doc: add more ways
aymen94 Jun 10, 2019
2cce387
feat: Create placeholders for all top level pages
amiller-gh Sep 7, 2019
5917623
feat: Create placeholder /download page
amiller-gh Sep 7, 2019
a58b5c3
feat: Create hooks dir, add useReleaseHistory hook
jonchurch Sep 7, 2019
d29c04e
feat: Create custom hooks dir, create useReleaseData hook
jonchurch Sep 7, 2019
7d9d3c2
chore: Format useReleaseData with prettier
jonchurch Sep 7, 2019
6f7aa17
feat: Add API docs hook and render list of modules for POC API page
amiller-gh Sep 7, 2019
c11f4c5
newbs might get confused with readline var name being same as package…
ORESoftware Apr 21, 2020
2082227
Merge branch 'feat/right-rail' into sweep/den-3945-consolidate-all-br…
ORESoftware Sep 18, 2026
1769c5d
Merge branch 'aymen94-patch-1' into sweep/den-3945-consolidate-all-br…
ORESoftware Sep 18, 2026
deb2091
Merge branch 'api-docs' into sweep/den-3945-consolidate-all-branches-…
ORESoftware Sep 18, 2026
125940c
Merge branch 'patch-1' into sweep/den-3945-consolidate-all-branches-2…
ORESoftware Sep 18, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/documentation/0014-node-input-from-cli/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ How to make a Node.js CLI program interactive?
Node.js since version 7 provides the [`readline` module](https://nodejs.org/api/readline.html) to perform exactly this: get input from a readable stream such as the `process.stdin` stream, which during the execution of a Node.js program is the terminal input, one line at a time.

```js
const readline = require('readline').createInterface({
const rl = require('readline').createInterface({
input: process.stdin,
output: process.stdout
})

readline.question(`What's your name?`, name => {
rl.question(`What's your name?`, name => {
console.log(`Hi ${name}!`)
readline.close()
})
Expand Down