#command-line-arguments #deno #nodejs #maps #js

bin+lib node_shim

A crate that maps Node.js CLI arguments into Deno arguments

25 breaking releases

Uses new Rust 2024

new 0.26.0 Jun 11, 2026
0.24.0 May 27, 2026
0.18.0 Mar 31, 2026

#425 in Command-line interface

Download history 1284/week @ 2026-02-21 891/week @ 2026-02-28 1321/week @ 2026-03-07 1141/week @ 2026-03-14 1131/week @ 2026-03-21 1413/week @ 2026-03-28 699/week @ 2026-04-04 541/week @ 2026-04-11 679/week @ 2026-04-18 890/week @ 2026-04-25 350/week @ 2026-05-02 529/week @ 2026-05-09 484/week @ 2026-05-16 627/week @ 2026-05-23 564/week @ 2026-05-30 582/week @ 2026-06-06

2,387 downloads per month
Used in 5 crates (2 directly)

MIT license

160KB
5K SLoC

  • Node.js CLI Argument Parser - Rust Implementation
  • This is a Rust implementation that matches the exact behavior of
  • Node.js CLI argument parsing found in src/node_options.cc and related files.
  • Based on Node.js source code analysis of:
    • src/node_options.cc (option definitions and parsing logic)
    • src/node_options.h (option structures and types)
    • src/node_options-inl.h (template implementation)
    • src/node.cc (main execution flow)

Dependencies

~2.3–4MB
~66K SLoC