DEV Community

Cover image for The ultimate template for publishing ES modules
Conner
Conner

Posted on

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!

Top comments (0)