
Security News
Insecure Agents Podcast: Certified Patches, Supply Chain Security, and AI Agents
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.
tiago-tslab-fork
Advanced tools
tslab is an interactive programming environment and REPL with Jupyter for JavaScript and TypeScript users. You can write and execute JavaScript and TypeScript interactively on browsers and save results as Jupyter notebooks.
await support.

Thanks to binder (mybinder.org), you can try tslab on your browsers without installing it into your system. Open a temporary Jupyter Notebook from the button above and enjoy interactive JavaScript and TypeScript programming.
To learn what what we can do with JavaScript on Jupyter, view example notebooks in nbviewer.
If nbviewer is down, please view the notebooks on GitHub instead.
First, install tslab with npm.
npm install -g tslab
Please make sure tslab command is available in your terminal.
tslab install --version
Then, register tslab to your Jupyter environment.
tslab install [--python=python3]
By default, tslab is registered with python3 in unix-like system and python in Windows.
If Jupyter is installed with a different Python in your system, please specify the python command with --python flag.
After you run tslab install, please check two kernels (jslab and tslab) are installed properly to jupyter.
$ jupyter kernelspec list
Available kernels:
jslab /usr/local/google/home/yunabe/.local/share/jupyter/kernels/jslab
tslab /usr/local/google/home/yunabe/.local/share/jupyter/kernels/tslab
After you register tslab to Jupyter, start JupyterLab and Jupyter Notebook as usual. You can now create JavaScript and TypeScript notebooks.
# JupyterLab
# `--port=` to change the port to accept connections.
# `--ip=0.0.0.0` to accept external connections.
jupyter lab [--port=8888] [--ip=0.0.0.0]
# Jupyter Notebook
jupyter notebook
In Jupyter, you can complete code by pressing Tab and show tooltips by pressing Shift + Tab.
You can also use tslab and Jupyter as an interactive console (REPL).
To use tslab as REPL, please run jupyter console with --kernel=jslab (JavaScript) or --kernel=tslab (TypeScript).
jupyter console --kernel=tslab
tslab is an interactive JavaScript and TypeScript programming environment on Node.js (aka Server-side JavaScript). tslab does not support code execution on browsers (aka Client-side JavaScript) at this moment.
FAQs
Jupyter for JavaScript and TypeScript (fork with zeromq bumped)
We found that tiago-tslab-fork 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
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.

Security News
The planned feature introduces a review step before releases go live, following the Shai-Hulud attacks and a rocky migration off classic tokens that disrupted maintainer workflows.