1.0.7 • Published 5 months ago

bare-readline v1.0.7

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
5 months 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.7

5 months ago

1.0.6

9 months ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

0.1.0

2 years ago

0.0.1

2 years ago

0.0.0

2 years ago