Socket
Book a DemoInstallSign in
Socket

bare-readline

Package Overview
Dependencies
Maintainers
2
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bare-readline

Line editing for interactive CLIs with command history

latest
Source
npmnpm
Version
1.2.1
Version published
Weekly downloads
2.5K
26.87%
Maintainers
2
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 05 Jan 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts