@damjack/elm-newrelic-nreum.js

1.0.1 • Public • Published

NewRelic JS Ports reader

Purpose

ElmNewRelic JS library is a wrapper around NewRelic Nreum SDK that support ELM via Ports and standardize the methods that it use to register events

Import

import * as elmNewRelic from 'elm-newrelic-nreum';

const elmApp = Elm.Main.init({
  node: document.getElementById('root'),
  flags: {},
});

elmNewRelic.cspEvent();
elmNewRelic.elmPortsToJS(elmApp);

Commands

Production build:

$ yarn build

Run development:

$ yarn dev

For linting or format code, run:

$ yarn format
$ yarn lint

Package Sidebar

Install

npm i @damjack/elm-newrelic-nreum.js

Weekly Downloads

2

Version

1.0.1

License

BSD-3-Clause

Unpacked Size

21.9 kB

Total Files

5

Last publish

Collaborators

  • damjack