3.1.0 • Published 11 months ago

@contrast/code-events v3.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

@contrast/code-events

Test

This module exposes CodeEvent data from the underlying v8 engine, such as the 'LAZY_COMPILE' and 'FUNCTION' types.

Usage

Register a listener for code events:

const { setCodeEventListener } = require('@contrast/code-events');

// with the default poll interval of 100ms:
setCodeEventListener((event) => {
  console.log(event);
});

// with a custom poll interval of 500ms:
setCodeEventListener((event) => {
  console.log(event);
}, { interval: 500 });
3.1.0

11 months ago

3.0.0

1 year ago

2.1.0

1 year ago

2.0.2

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago

1.0.1

1 year ago

1.0.0

2 years ago