Gathering detailed insights and metrics for nodemjs
Gathering detailed insights and metrics for nodemjs
Gathering detailed insights and metrics for nodemjs
Gathering detailed insights and metrics for nodemjs
Run .mjs files from your command line, with all the tweaks from esmod-pmb.
npm install nodemjs
Typescript
Module System
Node Version
NPM Version
69.3
Supply Chain
94.9
Quality
79.2
Maintenance
100
Vulnerability
100
License
JavaScript (65.14%)
Shell (34.86%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
2 Stars
25 Commits
2 Watchers
5 Branches
1 Contributors
Updated on Apr 07, 2025
Minified
Minified + Gzipped
Latest Version
0.1.16
Package Id
nodemjs@0.1.16
Unpacked Size
16.60 kB
Size
7.08 kB
File Count
19
NPM Version
6.14.17
Node Version
8.17.0
Published on
May 13, 2025
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
3
3
Run .mjs files from your command line, with all the tweaks from esmod-pmb.
Added features:
-r
if they would otherwise
yield the ERR_MODULE_RESOLUTION_LEGACY
error.NODEMJS_PRELOAD
and
npm setting nodemjs-preload
(see caveats below).
Multiple module specs can be separated with spaces.
They will be loaded even before the -r
pre-imports.… because the upstream esm
module is no longer maintained.
See issue #2.
No.
1$ nodemjs test/uc1st.mjs 2uc1st: [ 'Using dummy input', 'Because there were', 'No CLI args' ] 3 4$ ./test/uc1st.mjs foo bar qux 5uc1st: [ 'Foo', 'Bar', 'Qux' ]
npm install --global nodemjs
nodejs
command. If you use sane package sources, you probably do.
If you don't, just make a symlink nodejs
to node
or whatever
it's called on your system.
node
command name, file an issue, ideally after you've renamed the
Node.js foundation to Node foundation.)
nodejs
replacement
via the NODEJS_CMD
env var.Currently no support for setting process.mainModule
, see the
upstream bug ticket.
npm config caveat:
The nodemjs-preload
npm setting
is currently ignored if its value as a string is literally undefined
.
If you want to pre-load a module with that name and nothing else,
put it in twice, with a space between.
See also: Duplicate pre-imports.
Duplicate pre-imports:
nodemjs
currently does not check whether a module you're trying to
pre-import had already been imported before.
Usually node's module cache voids all non-first import attempts
per module, so this won't matter
— unless you use cache-busting modules, in which case you're on your own.
REPL:
The REPL isn't upgraded to ESM because esm
currently
cannot expose its REPL in a clean and easy way.
The invokedAs
context property for nodemjsCliMain
doesn't work.
Needs more/better tests and docs.
ISC
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
0 existing vulnerabilities detected
Reason
6 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 6
Reason
Found 0/25 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2025-06-23
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More