Ruben Taelman
Ruben Taelman
Could you try `import * as rdfParser from "rdf-parse"`?
Perhaps it's a problem with your tsconfig? Example project where I'm using rdf-parse: - https://github.com/LinkedSoftwareDependencies/Components.js/blob/be231392dd1c5a87dc05d72c6c58b3b471bc19c6/lib/rdf/RdfParser.ts#L5 - https://github.com/LinkedSoftwareDependencies/Components.js/blob/be231392dd1c5a87dc05d72c6c58b3b471bc19c6/tsconfig.json
> Is t[here](https://alexomara.com/blog/dual-packages-in-node-js-conditional-exports/) any chance of publishing dual packages with conditional exports as explained here. The problem is that tooling support for ESM is still quite shaky at the moment....
No, we don't support ESM yet. CJS-only.
As of v3, we have a named export that fixes this problem.
Good idea, this could become an optional module that can be enabled.
Yes, great idea!
The ability to easily set the license sounds like a good idea! However, I'm a bit hesitant to set any license as a default. Some users may not be aware...
I think we had a hardcoded fix for a previous article in the past for this. I should indeed look into abstracting this here.