Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
jupyter-js-output-area
Advanced tools
Javascript APIs for Jupyter output areas
In order to run the demo, build the package as described in the instructions
below and run npm run dev
. Your browser window will open the demo.
npm install jupyter-js-output-area
git clone https://github.com/jupyter/jupyter-js-output-area.git
cd jupyter-js-output-area
To build
npm install
npm run build
To display a Jupyter output area, you need to instantiate an output model and an output view, in that order.
import {OutputModel, OutputView} from 'jupyter-js-output-area';
let model = new OutputModel();
let view = new OutputView(model, document);
You can then display the output by appending it to your document.
document.querySelector('body').appendChild(view.el);
To have the output area display actual outputs, you can either pass it full Jupyter msgs
model.consumeMessage(msg);
or set the state directly
model.state = state;
You can save the state by accessing the same property
state = model.state;
TODO: Describe how to write custom models and views.
FAQs
DEPRECATED: Library for handling and displaying Jupyter output messages.
We found that jupyter-js-output-area demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.