/extension-cookiecutter-ts

A cookiecutter recipe for JupyterLab extensions in Typescript

Primary LanguageTypeScriptBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

JupyterLab extension-cookiecutter-ts

A cookiecutter template for creating a JupyterLab extension in TypeScript. (See also extension-cookiecutter-js for an extension in CommonJS.)

Use the template to create package

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-ts

A simple example

The src/ directory of your new extension includes a very simple example of a working extension, written in TypeScript. Use this example as a guide to build your own extension.