søren peter mørch

Conversation

Recent posts in reply to #t77u4lq

bender (twtxt.net)

@prologic so...

An isomorphic TypeScript library is a codebase, written in TypeScript, that can run in multiple JavaScript environments, most commonly both the web browser (client-side) and a server (like Node.js). The core idea is to share the exact same code across the frontend and backend, avoiding duplication and improving efficiency.

In reply to: #6ngpuhq 9 months ago
itsericwoodward (itsericwoodward.com)

@bender Correctamundo! In this case, it's available for the browser as a single (optionally-minified) JavaScript file, or for Node via NPM (as JS) and JSR.io (as "native" TypeScript).

I had to do it that way because I wanted a library I could use in both an Express server (for TwtKpr and TwtStrm) and the browser (for my website and... TwtStrm).

Hopefully, I'll have more to share about those other projects soon...

In reply to: #t77u4lq 9 months ago
prologic (twtxt.net)

@bender I see. Well that's not how I think of the term "Isomorphic" 🤣 I keep thinking about graphics and isomorphic games 😅

In reply to: #t77u4lq 9 months ago
Reply via email