@contrast/fn-inspect
This module exposes some useful information about functions from the v8 engine,
including:
- file and line number given a function reference
Usage
Getting details about a function:
const { funcInfo } = require('@contrast/fn-inspect');
function testFn() {}
const results = funcInfo(testFn);
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.