@contrast/fn-inspect v4.3.0
@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);
// => { lineNumber: 2, column: 15, file: 'example.js', method: 'testFn', type: 'Function' }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 then invoke the release workflow. You can run
release using the github UI or, if you have the github CLI installed, you
can run gh workflow run release.yml (also available via npm run release).
Note that upload-artifacts@v4 no longer works when there are multiple
artifacts with the same name. That's why the release workflow has the
following section:
uses: actions/upload-artifact@v4
with:
name: prebuilds-${{ matrix.build-group }}
path: prebuilds/1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago