The ultimate template for publishing ES modules

semicognitive

Conner

Posted on January 29, 2023

The ultimate template for publishing ES modules

A template to create and deploy universally reusable modules within seconds! Build with Typescript, then use in any Typescript or Javascript project.

Start by using the Github template.

Why

  • Fast iterating thanks to Deno, for built in Typescript debugging and bundling
  • Easily import into Replit, for an instant dev environment
  • Immediately works for Deno, Bun, Node, Cloudflare Workers, etc.
  • Publish to NPM in seconds

It works

Example: I need to deploy a package, so I used this template to build thefuz.

In just a couple minutes, I used this template to:

NPM Package Svelte Repl
NPM Package screenshot Svelte Repl screenshot

End

Happy to answer any questions below, or on Twitter. Happy programming!

💖 💪 🙅 🚩
semicognitive
Conner

Posted on January 29, 2023

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related