What is require-main-filename?

64/100
Trust Score (C+)
⚠️ Use Caution

require-main-filename is a npm that shim for require.main.filename() that works in as many environments as possible. It has a Nerq Trust Score of 64/100 (C+). 0 GitHub stars. Published by bcoe. Last analyzed September 2026.

Why This Score

Trust & Safety Overview

64
TRUST SCORE
C+
GRADE
0
STARS
0
DOWNLOADS

What require-main-filename Does

require-main-filename is a npm in the npm category. shim for require.main.filename() that works in as many environments as possible. It is published by bcoe and has no specified license. With 0 GitHub stars and 0 downloads, it has a small community of users and contributors.

Who Should Use require-main-filename

require-main-filename is suitable for evaluation and non-critical use. Review the trust score breakdown before using in production.

Details

Authorbcoe
Categorynpm
LicenseNot specified
Typenpm
SourceView on GitHub
Security Score0/100
Activity Score0/100

How to Get Started

Check the trust score before installing:

curl nerq.ai/v1/preflight?target=require-main-filename

Setup guide · Full safety report · Production review · Is it safe?

Frequently Asked Questions

What is require-main-filename used for?
require-main-filename is a npm tool. shim for require.main.filename() that works in as many environments as possible.
Is require-main-filename free?
License: Check project page. require-main-filename has 0 GitHub stars.
Is require-main-filename safe?
require-main-filename has a Nerq Trust Score of 64/100 (C+). Use with caution.
What are alternatives to require-main-filename?
Top alternatives: . See full comparison.

Last updated September 2026. Trust scores based on automated analysis of public data.

We use cookies for analytics and caching. Privacy Policy