npm · npm:require-main-filename
require-main-filename active
shim for require.main.filename() that works in as many environments as possible
The latest stable version of require-main-filename is 2.0.0, published on 2019-01-28. Verified by Vigia on 2026-11-12.
| Latest stable version | 2.0.0 |
|---|---|
| Published | 2019-01-28 19:42:56 UTC |
| Install | npm install require-main-filename@latest |
| Requires (engines) | none declared |
| Peer dependencies | — |
| Dist-tags | latest: 2.0.0 |
| License | ISC |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 13:18:23 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Ask your AI assistant to check this
AI models are trained up to a date, so they can be wrong about versions, deprecations and vulnerabilities. Paste this into Claude, ChatGPT, Perplexity or Cursor and it will answer with the verified data on this page:
Before answering about the npm package "require-main-filename", check Vigia (verified, dated facts): https://vigia.coredls.cloud/v1/packages/npm/require-main-filename . For my whole project use https://vigia.coredls.cloud/context
Using an AI coding agent every day? Connect Vigia once and it checks this by itself.
Maintenance
| Activity | dormant |
|---|---|
| Last stable release | 2019-01-28 19:42:56 UTC · 2845 days ago |
| Stable releases in the last 12 months | 0 |
| Published versions | 3 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
2.0.0 | 2019-01-28 19:42:56 UTC |
1.0.1 | 2016-02-17 05:54:56 UTC |
1.0.0 | 2016-02-01 05:57:45 UTC |
Showing the 3 most recent of 3 versions. JSON
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of require-main-filename?
The latest stable version of require-main-filename is 2.0.0, published on 2019-01-28. Verified by Vigia on 2026-11-12.
How do I install the latest version of require-main-filename?
Run npm install require-main-filename@latest. The latest stable version is 2.0.0 (verified 2026-11-12).
Is require-main-filename deprecated?
No. require-main-filename is not marked as deprecated in the registry.
Which Node.js version does require-main-filename require?
require-main-filename 2.0.0 does not declare a Node.js version requirement.
Does require-main-filename 2.0.0 have known vulnerabilities?
No known advisories affect require-main-filename 2.0.0 according to the data Vigia checks.
Is require-main-filename still maintained?
require-main-filename published 0 stable releases in the last 12 months; the most recent was 2845 days ago. Activity: dormant.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- @babel/plugin-transform-new-target
- mdast-util-to-hast
- embla-carousel-react
- memfs
- @babel/plugin-transform-numeric-separator
- hono
- parse5-htmlparser2-tree-adapter
- parse-entities
- @aws-crypto/sha256-browser
- moment
- micromark-factory-label
- @opentelemetry/otlp-exporter-base
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/require-main-filename) [](https://vigia.coredls.cloud/npm/require-main-filename) [](https://vigia.coredls.cloud/npm/require-main-filename)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/require-main-filename
GET https://vigia.coredls.cloud/v1/packages/npm/require-main-filename/versions/{version}