@vscode/jupyter-extension
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

Installation

npm install @vscode/jupyter-extension

Summary

First we need to define a package.json for the extension that wants to use the API: (https://github.com/Microsoft/vscode-jupyter).

Requirements

User is expected to install type definitions for VS Code via @types/vscode or @vscode-dts or other. See here for more information on creating your first VS Code.

See here for more information on consuming Extension APIs.

Sample

import { extensions } from 'vscode';
import type { JupyterAPI } from '@vscode/jupyter';

const jupyterApi = extensions.getExtension<JupyterAPI>('ms-jupyter.jupyter')?.exports;

/@vscode/jupyter-extension/

    Package Sidebar

    Install

    npm i @vscode/jupyter-extension

    Weekly Downloads

    6,314

    Version

    1.1.1

    License

    MIT

    Unpacked Size

    15 kB

    Total Files

    5

    Last publish

    Collaborators

    • vscode-bot
    • microsoft1es