Closed bartlomieju closed 2 years ago
https://github.com/nodejs/cjs-module-lexer
Basically we need a function, that given a CJS module source will return a list of exports and reexports.
We need this functionality for https://github.com/denoland/deno/issues/12648 and https://github.com/denoland/deno/issues/13200
Implemented in #55
https://github.com/nodejs/cjs-module-lexer
Basically we need a function, that given a CJS module source will return a list of exports and reexports.
We need this functionality for https://github.com/denoland/deno/issues/12648 and https://github.com/denoland/deno/issues/13200