How to use require-main-filename - 1 common examples

To help you get started, we’ve selected a few require-main-filename examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

require-main-filename

shim for require.main.filename() that works in as many environments as possible

ISC
Latest version published 6 years ago

Package Health Score

65 / 100
Full package analysis

Popular require-main-filename functions