1.0.3 • Published 13 days ago

bare-readline v1.0.3

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
13 days ago

bare-readline

Line editing for interactive CLIs with command history.

npm i bare-readline

Usage

const readline = require('bare-readline')

const rl = readline.createInterface({
  input: stream,
  output: stream
})

rl
  .on('data', (line) => {
    console.log(line)
    rl.prompt()
  })
  .prompt()

License

Apache-2.0

1.0.3

13 days ago

1.0.2

2 months ago

1.0.1

2 months ago

1.0.0

3 months ago

0.1.0

8 months ago

0.0.1

9 months ago

0.0.0

9 months ago