@sbrunk/jupyterlab-xkcd-scalajs

0.1.1 • Public • Published

JupyterLab xkcd-extension ported to Scala.js

Show a random xkcd.com comic in a JupyterLab panel

A port of the JupyterLab example xkcd-extension that is used in the extension tutorial to Scala.js.

Uses JupyterLab typings from ScalablyTyped.

Prerequisites

  • JupyterLab

Installation

jupyter labextension install @sbrunk/jupyterlab-xkcd-scalajs

Development

For a development install (requires npm version 4 or later), do the following in the repository directory:

npm install
jupyter labextension link .

To rebuild the JupyterLab app:

jupyter lab build

For a fast dev cycle run sbt in watch mode in one terminal:

sbt ~fastOptJS

And jupyter lab also in watch mode in another terminal

jupyter lab --watch

That should trigger jupyter lab to pick up any changed JS output and use it after the next browser refresh.

Package Sidebar

Install

npm i @sbrunk/jupyterlab-xkcd-scalajs

Weekly Downloads

1

Version

0.1.1

License

BSD-3-Clause

Unpacked Size

290 kB

Total Files

4

Last publish

Collaborators

  • sbrunk