JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5200
  • Score
    100M100P100Q127756F
  • License Apache-2.0

Adapter code to run the CometD JavaScript library in a NodeJS environment

Package Exports

  • cometd-nodejs-client

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 (cometd-nodejs-client) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

The CometD Project

CometD client for NodeJS

Adapter code that allows the CometD client JavaScript library to run in a NodeJS environment.

NPM Installation

npm install cometd-nodejs-client

Usage

// Run the adapter code.
require('cometd-nodejs-client').adapt();

// Your normal CometD client application here.

See here for an example CometD client application.