Archive - Tagged with 'npm'
How To Create A Dual-mode Cross-runtime Javascript Package
by Hexagon,
This article will guide you through publishing dual-mode, cross-runtime JavaScript packages. Learn to create libraries compatible with both ESM and CommonJS, as well as different runtimes like Node.js, Deno, and browsers.
Getting Started With Deno: A Secure Runtime For Javascript And Typescript
by Hexagon, , Updated:
If you're into JavaScript or TypeScript, you've probably heard about Deno. It's an exciting new runtime that's often described as a more secure and simpler alternative to Node.js. In this blog post, we'll go over what makes Deno awesome and how to get started.
Two Weeks With Jsr.io: Do We Need A New Package Registry?
by Hexagon,
A while ago, I wrote a post called How to Create a Dual-Mode Cross-Runtime JavaScript Package: How to Create a Dual-Mode Cross-Runtime JavaScript Package, and while possible - it sure isn't simple. There has to be a better way, and the creators behind jsr.io seem to agree.