Skip to content

GeoffreyBooth/node-test-commonjs-named-exports

Repository files navigation

This is a test of the PR at nodejs/node#33416, that attempts to detect named exports from CommonJS using a lexing approach.

To run this test yourself:

  1. Check out the branch from that PR and build Node.

  2. Check out this repo, and run the following where ../node/node is the path to the Node executable you just built in the previous step:

../node/node --unhandled-rejections=strict main.js

When you run the test, most of the top 3,000 packages from the NPM registry will be installed in a subfolder, and then both required and imported, with the names compared between the two loaded packages.

About

Test Node.js detection of CommonJS named exports

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published