
Company News
AWS Security Hub Adds Socket for Supply Chain Security
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.
Read-Evaluate-Print-Loop environment for JavaScript.
npm i bare-repl
const { start } = require('bare-repl')
const repl = start()
const repl = start([options])Options include:
{
prompt: string, // sets repl prompt
useColors: boolean, // toogles ANSI style codes to colorize the output
writer: (message) => message, // converts repl output
input: stream, // sets repl input stream
output: stream, // sets repl output stream
eval: (cmd) => {} // sets eval function
}
repl.defineCommand(keyword, { help, action })Define a repl command keyword.
repl.defineCommand('greet', {
help: 'Greetings',
action: () => console.log('hello')
})
bare-repl
> .greet
hello
repl.contextSet execution context.
repl.context.f = () => console.log('Hello from context')
bare-repl
> f()
Hello from context
Apache-2.0
FAQs
Read-Evaluate-Print-Loop environment for JavaScript
The npm package bare-repl receives a total of 7,855 weekly downloads. As such, bare-repl popularity was classified as popular.
We found that bare-repl demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Company News
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.

Research
/Security News
Popular npm packages keyv and cacheable compromised.

Security News
A misconfiguration gave three Anthropic models internet access, and one, believing it was in a simulation, shipped a credential-stealing package to PyPI.