npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@fails-components/jupyter-react-edit

v0.0.5

Published

A react control, that lets you embed jupyter lite in your application including applets with screenshots etc.

Readme

"FAILS logo"

Fancy automated internet lecture system (FAILS) - components (jupyter react edit)

(c) 2024 Marten Richter

The package provides a React component to include jupyter within FAILS, but may be usuable outside of fails.

This package is part of FAILS. A web-based lecture system developed out of university lectures.

While FAILS as a whole is licensed via GNU Affero GPL version 3.0, this package is licensed under a BSD-style license that can be found in the LICENSE file. This package is licensed more permissive since it can be useful outside of the FAILS environment, esspecially if you want to integrate Jupyter Lite into your application. So the default license from Jupyter is used to be license compatible.

Installation and usage

Installation

You can install the package directly via npm from node.js:

For installation simply run:

npm install @fails-components/jupyter-react-edit

Usage

You can integrate the React component via

import { JupyterEdit } from '@fails-components/jupyter-react-edit'

...

<JupyterEdit
  editActivated={/* true or false, to control activation */}
  jupyterurl={window.location.origin + '/jupyter/index.html' /* provides the URL of your jupyter lite deployment */}
  pointerOff={
   /* turn off and on mouse pointer inter actzion*/
  }
  rerunAtStartup={/* if true rerun all cells at startup*/}
  installScreenShotPatches={
    /* if true patches are installed within jupyter to allow for screenshots of applets*/
  }
  ref={/* you may want to track the reference to interact with the control*/}
  document={/* initial javascript object representing the jupyter file */}
  filename={/* file name */}
  appid={/* you can set an id to show only a specific applet, instead of full editing */}
  stateCallback={/* call back to process changes of the state of the jupyter applets */}
  appletSizeChanged={(appid, width, height) => {
    /* callback invoked if the size of an applet changes */
  }}
  kernelStatusCallback={status => {
    /* callback, if the kernel status changed */
  }}
  receiveInterceptorUpdate={({ path, mime, state }) => {
   /* information from the interceptor about a state update */
  }}
/>;

For more information please look at the usuage of the componenent inside fails, notably inside @fails-components\app and @fails-components\lectureapp.