2.0.2 • Published 2 months ago

@contrast/code-events v2.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 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 });
2.0.2

2 months ago

2.0.1

4 months ago

2.0.0

4 months ago

1.0.1

4 months ago

1.0.0

5 months ago