-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
Hi,
It appears as if NodeJS needs a helping hand to identify the NodeJS version of this library as commonjs rather than a module, since the package.json that's shipped with NPM listed "type": "module,".
I was able to get this working in NodeJS ESM by renaming node_modules\parquet-wasm\esm\parquet_wasm.js to have an extension of .cjs and replacing references in the package.json to use the new extension.
Unfortunately I'm not familiar enough with the build/bundle process for this module to be able to submit a PR myself.
Hopefully this would be a small change which would allow compatibility with modern NodeJS code.
matt-condon
Metadata
Metadata
Assignees
Labels
No labels