3 ms·
Not switching from Node, but I've been building some Typescript libraries that are mainly for the browser and when building command line app versions for them,
by Hamcha 5y ago
Not switching from Node, but I've been building some Typescript libraries that are mainly for the browser and when building command line app versions for them, Deno worked out of the box while Node has hiccups (no Fetch, no Websockets, etc) and since Deno works so well I just never added Node support.
Small aside: if you ever plan on doing Deno-first libraries, https://deno.land/x/dnt@0.20.1 https://deno.land/x/dnt@0.20.1 is a library that takes a Deno project and builds an entire Node project with shims (sadly only for Deno-specific stuff, so no node-fetch or ws) so you can publish to NPM.