© 2026 Hashnode
Creating a versatile npm package today means supporting multiple module systems. In this post, we explore why you should build your package with both CommonJS (CJS) and ECMAScript Module (ESM) formats, how to configure Rollup for this purpose, and th...

Building a Node.js application with TypeScript can be an excellent choice for modern JavaScript development. It offers type safety, better tooling, and is great for scaling. But the real power comes when you combine TypeScript with a solid bundler, t...
