Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Experimental REPL for Bun
You can use it directly via Bun with:
bun repl
No installation required!
npm and GitHub releases will always be guaranteed to not rely on current Bun canary versions, but support for any version other than the latest non-canary will not be guaranteed.
The source code repository latest commit may contain code not yet in any release which depends on currently Bun canary-only features and has no guarantees.
--eval
and --print
import fs from 'fs'
)ffi
or sqlite
)_
and _error
)repl
module polyfill↑
↓
).command
)bun repl [options]
Pass the -h
or --help
CLI option for a list of all options.
Type .help
within the REPL for a list of commands.
Press ↑
and ↓
to travel up or down the execution history.
repl
module polyfillbun repl
exposes a special variable repl
which provides access to a REPL interface like the Node.js REPL (also accessible through import/require of repl
or node:repl
).
Currently only a subset of the node:repl
API is implemented, see below:
repl
global object ✅
start()
function ❌writer()
function ✅ (Partial)
options
object ✅repl
property ❌builtinModules
array ✅REPL_MODE_SLOPPY
symbol ✅REPL_MODE_STRICT
symbol ✅REPLServer
class ❌Recoverable
class ❌You can use repl.writer.options
like you would in Node.js REPL to customize the live output of the running REPL.
PRs are welcome to help fix any of the items below or anything else.
FAQs
Experimental REPL for Bun
The npm package bun-repl receives a total of 49 weekly downloads. As such, bun-repl popularity was classified as not popular.
We found that bun-repl demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.