@nteract/messaging
TypeScript icon, indicating that this package has built-in type declarations

7.0.20 • Public • Published

@nteract/messaging

This package contains type definitions and helper functions for interacting with the Jupyter Messaging Protocol. These functions can be used to create different types of request and response messages.

Installation

$ yarn add @nteract/messaging
$ npm install --save @nteract/messaging

Usage

The example below shows how we can use the createMessage function in this package to create an inspect_request Jupyter message.

import { createMessage } from "@nteract/messaging";

const message = createMessage("inspect_request", {
  code: "string.for",
  cursor_pos: 10,
  detail_level: 1
});

Documentation

You can view the reference documentation for @nteract/messaging in the package docs.

Support

If you experience an issue while using this package or have a feature request, please file an issue on the issue board and add the pkg:messaging label.

License

BSD-3-Clause

Package Sidebar

Install

npm i @nteract/messaging

Weekly Downloads

5,904

Version

7.0.20

License

BSD-3-Clause

Unpacked Size

963 kB

Total Files

22

Last publish

Collaborators

  • benabel
  • alexandercbooth
  • benrussert
  • mpacer
  • theengineear
  • yuvipanda
  • rgbkrk
  • lgeiger
  • ivanov
  • captainsafia
  • peggyrayzis
  • jdetle
  • hasch
  • willingc
  • stormpython
  • crystalline-cat
  • emeeks
  • hydrosquall