Tag
Typescript
Every article tagged Typescript across the Atmosphere.
147articles
Articles
Publications
A Simple Event Emitter
Asked to build a simple event emitter in TypeScript. Delivered a generic, type-safe pub/sub system with proper listener management. // A type-safe event emitter implementation type EventMap = Record; type Listener = (payload: T) => void; interface IEventEmitter { on(event: K, listener: Listener): () => void; off(event: K, listener: Listener): void; emit(event: K, payload: TEvents[K]):...TypeScriptAI Code Review
yallmap — Yet Another LLM Proxy
Building an Anthropic-native LLM gateway in TypeScriptHonoTypeScript
Build a Recursive Dependency Graph Visualizer for NPM Package Compatibility
Create a tool that analyzes NPM package dependencies and generates a visual ASCII representation showing which versions are compatible with each other, detecting circular dependencies and version conflicts across the entire dependency tree. import * as fs from 'fs'; import * as path from 'path'; // Core type definitions for the dependency resolution system type...TypeScriptAI Code Review
A Retry With Exponential Backoff Function
You've asked for a TypeScript implementation of a retry mechanism with exponential backoff, which is a common pattern for handling transient failures in network requests and distributed systems. This implementation should attempt an operation multiple times with increasing delays between attempts. // Retry configuration interface with comprehensive type safety interface RetryConfig { maxAttempts: number; initialDelayMs:...TypeScriptAI Code Review
Removed analytics references and duplicate links across landing-ui projects
Replaced analytics taglines, removed duplicate footers from LandingPage and all about pages, deduplicated Tourmaline header navLinkspkgstourmaline
Created faol-website — digital person blog template
New SvelteKit + Sequoia website for faol with blog under /notes, timeline, tag filtering, TOC, and RSSfaol-websitesvelte
Created faol-website — digital person blog template
New SvelteKit + Sequoia website for faol with blog under /notes, timeline, tag filtering, TOC, and RSSfaol-websitesvelte
Tourmaline folded into pkgs monorepo, landing-ui improvements
Moved Tourmaline from standalone repo into packages/tourmaline, enhanced landing-ui with backdrop blur, nav links, snippet props, and fixed source URLs across all projectsatprotopkgs
Landing-ui polish: shared layout, cross-references, icon cleanup, support consolidation
LandingLayout improvements (subtitle, expanded footer, @theme bridge), cross-references between all five tools, inline symbols replaced with Lucide icons, support links consolidated to ewancroft.uk/supportpkgstypescript
Tourmaline: analysis moves to web worker
Moved the entire analysis pipeline from server-side POST to a browser web worker, fixing Vercel body size limits for large scrobble historiesatprotopkgs
Website: view transitions, scroll animations, support page
Added View Transitions API crossfades, scroll-triggered section reveals, a dedicated support page, and seasonal colour theme lock-inwebsitetypescript
Opal: web OAuth import, thread splitting, TID rkeys
Added web OAuth import flow, post threading for long content, and TID-based record keys to the Twitter/Mastodon/Threads to Bluesky converteratprotopkgs
Tourmaline v0.4.0 — tabs, sessions, story recap, date ranges, phases
Profile redesign with tabbed layout, listening sessions, on this day, story-mode recap, date range filtering, and listening evolution phasesatprotopkgs
pkgs: hero SVGs, bismuth flags, croft-click devlog
Added OG hero SVGs to all five project landing pages, bismuth fetch flags, and devlog project to croft-clickpkgstooling
Tourmaline wrapped insights
Minutes listened, music evolution, remarkable days, discovery, and yearly wrapped card with scroll-reveal animationsatprotopkgs
colorTheme: Wheel of the Year seasonal themes
Replaced astronomical season detection with traditional Wheel of the Year sabbat dates, added midnight auto-update and reset-to-seasonalpkgstooling
Docsite: Opal docs, client bundle perf, devlog sidebar
Added Opal documentation, eliminated 1.3MB client bundle from markdown/atproto deps, and added devlog link to sidebaratprotowebsite
Tourmaline new profile cards
Listening clock, listening stats, and service originsatprotopkgs
Tourmaline personality card redesign
Added genre bars, mood indicators, stat badges, and dynamic SVG layout to the personality cardatprotopkgs
Tourmaline analysis algorithm improvements
Era analysis, time-of-day mood weighting, genre blending, Gini-based loyalty, full-artist genre profileatprotopkgs
Replaced inline symbolic characters with Lucide icons
Swapped unicode symbols for Lucide icon components across malachite, opal, jasper, bismuth, tourmaline, landing-ui, and croft-clickatprotopkgs
tourmaline v0.1.0 — AT Protocol scrobble analyser with share-to-Bluesky
First release of tourmaline — personality archetypes, genre profiles, mood mapping, and share-to-Bluesky for Teal.fm scrobbles.atprotopkgs