A cookiecutter template for creating a JupyterLab extension in CommonJS JavaScript. (See also extension-cookiecutter-ts for an extension in TypeScript.)
Install cookiecutter.
pip install cookiecutter
Use cookiecutter to generate a package, following the prompts to fill in the name and authorship of your new JupyterLab extension.
cookiecutter https://github.com/jupyterlab/extension-cookiecutter-js
The lib/
directory of your new extension includes a very simple example of a working extension, written in JavaScript using CommonJS modules. Use this example as a guide to build your own extension.
We suggest that simple extension names start with jupyterlab_
and use underscores if needed to improve readability, such as jupyterlab_myextension
.