Skip to content

#JavaScript

14 posts tagged JavaScript. All posts

  1. JavaScript & webBuilding and publishing a TypeScript library with Vite library modePackage a TypeScript library with Vite 8 library mode: ESM output, external dependencies, .d.ts files from tsc, an exports map, and testing the tarball before publishing.
  2. Mobile & AndroidMeridian: an offline tasks, habits and focus app for Android and the webHow Meridian works: one JSON document in localStorage, a quick-add parser, forgiving habit scores, AES-GCM locked notes and a Capacitor build for Google Play.
  3. Mobile & AndroidAfterlight on Android: touch controls and a Capacitor shell for a keyboard JRPGPorting the three.js JRPG Afterlight to Android: on-screen controls that press the same actions as the keyboard, a scaled desktop layout, and a signed Play bundle.
  4. JavaScript & webVue 3 Six Years On: What Changed from 3.0 to 3.6Vue 3.0 shipped in September 2020. What each minor release added since, from script setup and defineModel to 3.5's reactivity rewrite and 3.6's Vapor Mode.
  5. JavaScript & webWeb Streams in Node.js: ReadableStream, TransformStream and pipeToUse WHATWG streams in Node.js 24: create and iterate streams, split lines with TransformStream, parse fetch bodies, convert to Node streams, handle backpressure.
  6. JavaScript & webExplicit resource management in TypeScript with using and await usingHow using and await using work in TypeScript: Symbol.dispose, DisposableStack, tsconfig settings, Node 24 support, plus temp directory and SQLite transaction examples.
  7. JavaScript & webPage animations with the View Transitions APIAnimate DOM updates and page navigations: startViewTransition, view-transition-name, the pseudo-element tree, cross-document opt-in and reduced motion.
  8. AI & dataStreaming LLM responses to the browser with server-sent eventsRelay a streamed Claude response through a FastAPI endpoint as server-sent events, read it in the browser with fetch, and handle proxy buffering and cancellation.
  9. JavaScript & webTimeouts and cancellation for fetch with AbortSignalfetch has no timeout option. Use AbortController, AbortSignal.timeout and AbortSignal.any to cancel requests, tell timeouts from aborts, and clean up in React.
  10. JavaScript & webDiscriminated unions and exhaustive checks in TypeScriptModel request states and webhook events as discriminated unions, narrow them by a tag field, catch missing cases with never, and parse unknown JSON into a union.
  11. JavaScript & webThe satisfies operator in TypeScript: checking values without widening themHow satisfies checks an object against a type while keeping its precise inferred type, with config maps, Record keys, as const satisfies and the gotchas.
  12. JavaScript & webMermaid diagrams from text: flowcharts, sequence, Gantt, class, state and ER examplesWrite flowcharts, sequence diagrams, Gantt charts, class, state and ER diagrams as text with Mermaid, plus theming, click links, and rendering in pages or the CLI.
  13. AI & dataBuilding an Excel add-in that calls OpenAI and Alpha VantageScaffold an Excel task pane add-in with yo office, then make it ask OpenAI for a stock ticker and show the company overview from Alpha Vantage.
  14. JavaScript & webGetting started with Remix: loaders, actions, and the move to React RouterHow Remix's loaders, actions, and nested routes work, how it compares to Next.js, and how to start the same app today with React Router framework mode.

© 2026 David Li · Home · Blog · RSS ·Classic site · Built with Astro, Starlight and three.js · Logos:Font Awesome Free (CC BY 4.0)