ipfs / js-ipfs-utils

IPFS utils
Other
23 stars 30 forks source link

Convert to ESM #266

Open talentlessguy opened 1 year ago

talentlessguy commented 1 year ago

Right now ipfs-utils is written with CommonJS, which creates issues when using with Deno. Also, ipfs-http-client and other modules are already ESM, so I think it'd be nice to have ipfs-utils as ESM as well.

I've just submitted a PR with ESM rewrite: #265

Right now node and browser works, electron doesn't work because it doesn't support es modules yet (a PR with it's support has appeared 2 weeks ago though)

welcome[bot] commented 1 year ago

Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review. In the meantime, please double-check that you have provided all the necessary information to make this process easy! Any information that can help save additional round trips is useful! We currently aim to give initial feedback within two business days. If this does not happen, feel free to leave a comment. Please keep an eye on how this issue will be labeled, as labels give an overview of priorities, assignments and additional actions requested by the maintainers:

Finally, remember to use https://discuss.ipfs.io if you just need general support.

ifgeny87 commented 9 months ago

This question worries me too. Are there any solutions to this issue?