Skip to content

Installation

Terminal window
npm install @xbbg/core

@xbbg/core loads a packaged native addon through platform-specific optional dependencies on supported targets.

  • macOS arm64
  • Linux x64
  • Windows x64

After install, point the package at the Bloomberg endpoint you use:

import * as xbbg from '@xbbg/core';
xbbg.configure({
host: 'localhost',
port: 8194,
});

For B-PIPE, leased-line, or advanced auth scenarios, connect() and configure() accept the structured EngineConfig object exposed by the package. Direct B-PIPE hosts use host/port or servers; ZFP over leased lines uses zfpRemote: '8194' | '8196' plus tls credentials and must not be combined with direct hosts or SOCKS5.

If you need to build the addon yourself, follow the repository instructions in js-xbbg/README.md. The public docs stay focused on the installable package; contributor and unsupported-platform workflows live in the package README.

  • JavaScript overview — understand the public Node.js surface
  • Package Map — choose between xbbg and @xbbg/core
  • Browse the @xbbg/core API section in the sidebar for the generated TypeScript reference