@contrast/code-events
This module exposes CodeEvent data from the underlying v8 engine, such as 'LAZY_COMPILE'.
Usage
Register a listener for code events:
const { setCodeEventListener } = require('@contrast/code-events');
setCodeEventListener((event) => {
console.log(event);
});
setCodeEventListener((event) => {
console.log(event);
}, 500);
## Building locally
`npm run build` will build the project for your current OS and architecture.
`npm run download` will pull the most recent build artifacts from GitHub.
## Publishing
Simply run `npm version` and `git push && git push --tags`. CI will take care of
releasing on taggedcommits.