Want to write a small NPM package that's for all contexts
deno, browser and node
is this April 2022 resource the best one for this?
https://portal.gitnation.org/contents/writing-universal-modules-for-deno-node-and-the-browser-700
Writing universal modules for Deno, Node, and the browser by Luca C...
This talk will walk you through writing a module in TypeScript that can be consumed by users of Deno, Node, and browsers. I will walk through how to set up formatting, linting, and testing in Deno, and then how to publish your module to deno.land/x and npm. I will also start out with a quick introduction on what Deno is.
0 Replies