Test if an ES module is run directly (require.main replacement)
latest non vulnerable version
3 years ago
latest version published
3 months ago
No direct vulnerabilities have been found for this package in Snyk’s vulnerability database. This does not include vulnerabilities belonging to this package’s dependencies.Does your project rely on vulnerable package dependencies?
Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities (in both your packages & their dependencies) and provides automated fixes for free.