JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 21
  • Score
    100M100P100Q43883F
  • License MIT

A client for interacting with the Alert Logic msg-access Service API

Package Exports

  • @al/msgaccess
  • @al/msgaccess/dist/index.cjs.js
  • @al/msgaccess/dist/index.esm5.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 (@al/msgaccess) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@al/msgaccess

A client for interacting with the Alert Logic msg-access Service API.

This library uses @al/msgaccess as its HTTP provider interface.

Disclaimer

Until the release of version 1.0.0 all current minor version increments may be backwards incompatible. Please bear this in mind when developing against this library. Should you have any further questions, please do not hesitate to contact us as npm@alertlogic.com

Installation

  npm install @al/msgaccess --save

Usage

  var MsgAccessClient = require('@al/msgaccess').MsgAccessClient; //commonjs - e.g. node
  import { MsgAccessClient } from '@al/msgaccess'; //ES2015 - e.g. Angular, TS projects
    

Interactive

Loads the library into memory and stays in an interactive node shell.

  npm run interactive

NOTE - You must build the sources before running this command, see Building section below

Tests

  npm test

Contributing

The sources are written in Typescript and follow the tslint airbnb style.

Building

To generate a production build

npm run build

To generate a development build

npm run build-dev

Builds will be be generated into a dist folder and will contain commonjs and umd bundles that will be consumed depending on the module system in whichever environment you are using.