Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
January 29, 2023 10:42 am GMT

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 PackageSvelte Repl
NPM Package screenshotSvelte Repl screenshot

End

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


Original Link: https://dev.to/semicognitive/the-ultimate-template-for-publishing-es-modules-1lik

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To