Saturday 30 May 2020

Distributing library via ES module

I recently released a small typescript library targeting node apps (express in particular).I know node support for es modules is very new, so I am packaging it as a commonjs module, but I am wondering if there is enough uptake of esmodules in the node community to consider migrating or even possibly packaging in both module formats.This is my first time releasing a library for others' consumption, so I'd really appreciate any feedback. I would be especially grateful if anyone could point me to some libraries that could be considered a "best practice" when it comes to distribution. Thanks!

Submitted May 31, 2020 at 02:05AM by karma_bank

No comments:

Post a Comment