This module provides limited functionality for interacting with NM B2B services.
Use of this module requires that you obtain a certificate and sign an agreement with NM.
The module, while functional, merely serves as an example to get you started with NM B2B in a TypeScript or JavaScript environment.
For debug logging, set environment variable B2B_CLIENT_DEBUG=on or =true.
import {
BaseClient,
CommonService,
FlightService,
GeneralInformationService,
} from "jsr:@mariodeckers/b2b-client";Install from JSR:
npx jsr add @mariodeckers/b2b-clientimport {
BaseClient,
CommonService,
FlightService,
GeneralInformationService,
} from "@mariodeckers/b2b-client";This module offers limited functionalities for:
- Interacting with flight services.
- Managing subscriptions.
- Accessing general information.
For a basic example of how to use this module, see example/basic.ts.
The Deno script scripts/extract-p12.ts can be used to extract certificates and private key from a .p12 file.
See Deno Installation on how to get Deno installed on your machine.
Run this command for usage instructions:
deno .\scripts\extract-p12.ts --help