An early experimental library for describing Node.js modules using ES6 module notation and transpiling them to CommonJS. Version 0.1.0 is the initial release. It resolves local and npm imports. This project is an early prototype from 2014 and has not seen updates; it is effectively abandoned. Key differentiator: allows authoring ES6 modules and transpiles to ES5 CommonJS, but predates modern standards like Babel.
No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
ESM import works if using modern Node (>=13) or bundler; original usage was CommonJS require()
Original documentation used .nodePackage on the require result; same as destructuring but valid
Can be imported as named export or via destructuring require
Shows how to load a NodePackage, retrieve a module, transpile to CJS, and get recursive dependencies.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.