JSPM

sprotty-protocol

0.13.0-next.b0e9d60.331+b0e9d60
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4111
  • Score
    100M100P100Q126496F
  • License (EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0)

TypeScript declarations for Sprotty to be used both in browser and Node.js context

Package Exports

  • sprotty-protocol
  • sprotty-protocol/lib/actions
  • sprotty-protocol/lib/actions.js
  • sprotty-protocol/lib/index.js
  • sprotty-protocol/lib/utils/async
  • sprotty-protocol/lib/utils/async.js
  • sprotty-protocol/lib/utils/geometry
  • sprotty-protocol/lib/utils/geometry.js
  • sprotty-protocol/lib/utils/json
  • sprotty-protocol/lib/utils/json.js
  • sprotty-protocol/lib/utils/model-utils
  • sprotty-protocol/lib/utils/model-utils.js
  • sprotty-protocol/lib/utils/object
  • sprotty-protocol/lib/utils/object.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (sprotty-protocol) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Sprotty Protocol

This package contains the platform-independent definitions of Sprotty. They are used both by the main client code (sprotty) and by servers running in Node.js.

For Node.js-based diagram servers, a class DiagramServer is provided. It handles the state and message handling for one client, so you need to create one instance of that class for every diagram instance that is shown in the frontend.