Topic

TypeScript

Track TypeScript news, type-system patterns, framework integrations, tooling releases, and production lessons from developer communities. Snapbyte.dev helps you follow the TypeScript ecosystem without living in feeds all day.

What this topic tracks

  • Language releases and type-system features
  • Advanced type patterns and API design
  • React, Next.js, and full-stack TypeScript
  • Build tooling, linting, and package workflows
  • Type safety lessons from production systems

TypeScript · 110 stories

Recent stories

Each story's summary, with the places it was discussed.

Summaries are written by AI from the linked sources. Open the source for full context.

20 stories

Show HN: Tolaria – open-source macOS app to manage Markdown knowledge bases

github.com · 23 Apr

React · TypeScript · Open Source

Tolaria is an open-source, offline-first macOS desktop application for managing knowledge bases using local Markdown files and Git.

Built with Tauri, React, and TypeScript, it prioritizes user data ownership, privacy, and keyboard-centric workflows. It functions as a flexible Second Brain, providing seamless integration for AI agents without vendor lock-in.

Make.ts

matklad.github.io · 27 Jan

CLI · Productivity · TypeScript

The article introduces 'make.ts', a workflow pattern for improving interactive scripting and command execution.

Instead of relying on shell history and manual command repetition, the author suggests writing ad-hoc commands into a git-ignored TypeScript file and executing it. This approach offers significant advantages, such as using a full-featured text editor, organizing multiple commands without complex shell syntax, and managing multi-process applications through declarative concurrency. Using Deno and the dax library, the author demonstrates how a simple collection of commands can organically evolve into a robust, repeatable benchmarking script. By capturing interactive workflows in a file, developers can easily transition from one-off tasks to automated, parameterized scripts while maintaining clarity and reproducibility.

Bun 1.4

bun.com · 20 Aug

JavaScript · Rust · TypeScript

Bun 1.4 is a major full-stack JavaScript and TypeScript toolkit release.

Rewritten in Rust, it improves Node.js compatibility with 1,517 new tests, fixes over 2,900 issues, and significantly reduces CPU, memory, startup time, and binary size. It adds native streams, HTTP/3, WebView, image and Markdown APIs, parallel testing, package-management commands, and broader observability and security features.

The JavaScript Oxidation Compiler

oxc.rs · 23 Feb

JavaScript · Rust · TypeScript

OXC is a collection of high-performance JavaScript and TypeScript tools written in Rust.

It features an ultra-fast parser that outperforms SWC and Biome in benchmarks. The suite includes a linter for enforcing code styles, a Node.js-compatible resolver, and a transpiler designed for speed, helping developers catch bugs and optimize code efficiently.

Zod 4.6.6 compromised by malware?

github.com · 12 Oct

Cybersecurity · JavaScript · Node.js · TypeScript

Zod 4.6.6 appears compromised: both `zod` and `@zod/mini` add a `preinstall` hook that runs `meta.test.mjs`.

The script queries Ethereum RPC endpoints and a hard-coded contract, decodes loader URLs, downloads a payload, executes base64-encoded setup code, and removes its temporary directory. The release workflow now publishes on pushes to `main` when package manifests change, potentially distributing the malicious code through npm.

MCP Is Dead Simple. And That's Exactly the Problem

dev.to · 12 Nov

Artificial Intelligence · TypeScript · AI Agents

MCP is easy to implement: a server can expose discoverable tools with descriptions, schemas, and handlers, while multiple AI clients such as Steve and Kiro reuse the same interface.

A demo HR server with SQLite tools let an agent inspect employees, file complaints, and nominate promotions, including a real database write. Production use requires authentication, authorization, validation, approval workflows, trustworthy tool handling, auditability, failure management, and idempotency, because MCP does not prevent unsafe, duplicated, or manipulated actions.

Show HN: Mastra 1.0, open-source JavaScript agent framework from the Gatsby devs

github.com · 6 Aug

Artificial Intelligence · Generative AI · TypeScript

Mastra is a TypeScript framework designed for building and scaling AI applications and autonomous agents.

It offers a comprehensive suite of tools including model routing for over 40 providers, graph-based workflows, human-in-the-loop capabilities, and built-in observability for production refinements. The framework integrates seamlessly with React, Next.js, and Node.js while supporting the Model Context Protocol (MCP) for structured resource sharing.

The Concise TypeScript Book

github.com · 4 Sept

Programming Languages · TypeScript · Education

The Concise TypeScript Book offers an extensive and focused exploration of the TypeScript language, covering the latest features up to version 5.2.

Designed for developers of all levels, it delves into the powerful type system, structural typing, and advanced utility types like Partial and Readonly. The guide also covers crucial concepts such as Type Narrowing, Discriminated Unions, and Generics, providing practical examples to improve code robustness. As an open-source resource by Simone Poggiali, it serves as both a teaching manual and a technical reference for building scalable applications.

TypeScript 7 Went Native: What Actually Changes And What Doesn't

dev.to · 3 Aug

Go · Performance · TypeScript

TypeScript 7 introduces a natively compiled Go binary, replacing the previous JavaScript implementation.

This update delivers significant performance gains through parallel processing and efficient memory management, resulting in up to 10x faster builds and editor responsiveness. Crucially, it preserves strict behavioral compatibility while distinguishing itself from Node's runtime type-stripping features used for development execution.

Why I Rewrote type-tune from TypeScript to Rust 🦀

dev.to · 18 Nov

CLI · Frontend · Rust · TypeScript

type-tune is a Rust-powered CLI that finds shared TypeScript type aliases and interfaces, creates a reviewable migration plan, safely updates supported imports and re-exports, and validates changes with TypeScript.

Its author rewrote nearly 20,000 lines from TypeScript to Rust in under a month with AI, gaining better execution performance and native binary distribution while retaining npm installation; the npm launcher requires Node.js 22+. The Scan/Plan/Apply workflow automates edits but leaves architectural decisions to developers.

Bluesky Protocol Services

atproto.com · 13 Aug

Go · REST API · TypeScript

Bluesky launches Bluesky Protocol Services, a unified developer portal for its AT Protocol infrastructure, and Jetstream v2 with Network Replay, enabling filtered historical snapshots and seamless live-stream catch-up.

It also releases TypeScript and Go SDKs, rebases the Bluesky TypeScript SDK on lexicons, updates API references, and keeps services open-source and self-hostable.

Anatomy of a Failed (Nation-State?) Attack

grack.com · 26 Jun

Artificial Intelligence · Cybersecurity · TypeScript

A developer avoided a sophisticated social engineering attack via a fake job interview.

The attackers delivered a malicious TypeScript repository containing 'PinpinRAT', a remote-access trojan. The malware used obfuscated patch files to execute a hidden payload, exfiltrating host fingerprints and allowing remote command execution. Investigators should monitor for specific IoCs and unusual build-process persistence.

ArnasDon/wacrm

github.com · 5 Dec

JavaScript · Next.js · TypeScript

wacrm is a free, MIT-licensed, self-hostable WhatsApp CRM template for teams that need a shared inbox, contacts, sales pipelines, broadcasts, and no-code automations on the official WhatsApp Business API.

Built with Next.js and Supabase, it adds AI reply assistance, knowledge-base retrieval, team roles, a public REST API, and an MCP server. Unlike hosted CRMs, it keeps code and data under the operator’s control, with no per-seat fees and security features including RLS, encrypted tokens, webhook verification, and rate limiting.

pingdotgg/ts-rust

github.com · 8 Oct

CLI · Performance · Programming Languages · Rust · TypeScript

ts-rust (tsc-rs) is an experimental Rust port of Microsoft’s TypeScript 7 compiler, checker, language server, and API, intended as a faster, potentially WebAssembly-compatible replacement for tsc.

It preserves Go’s algorithms and CLI, includes built-in Effect diagnostics, and matches Go’s results across 181,711 tests and tested projects. Benchmarks show it is 1.61× faster than tsc 7 on six real applications, with Linux x64 and macOS arm64 releases; known limitations remain in some monorepos, builds, and long editor sessions.

7 New JavaScript Features (And 2 I'm Still Waiting For)

dev.to · 24 Jun

JavaScript · Programming Languages · TypeScript

This article highlights seven upcoming features in the ECMAScript 2026 standard, including Map.prototype.getOrInsert, Iterator.concat, Array.fromAsync, Math.sumPrecise, Error.isError, Uint8Array.toBase64, and JSON.parse source text access.

It also previews the anticipated Temporal API and explicit resource management, emphasizing how these updates simplify code, improve precision, and mature the JavaScript ecosystem.

Thi.ng – open-source building blocks for computational design and art

thi.ng · 7 Jun

Programming Languages · TypeScript · Open Source

thi.ng is a mature, open-source project collection focused on Computational Design.

Managed by Karsten Schmidt, it features ~350 modular libraries emphasizing functional programming, data-driven architecture, and TypeScript tooling. It provides a vast ecosystem for fields like data visualization, architecture, and VFX, promoting modularity, interop, and simplicity across diverse platforms and programming languages.

Meet type-tune! 🦀 Give Your TypeScript Types a Better Home! 😸

dev.to · 11 Nov

CLI · Frontend · Rust · TypeScript

type-tune is an open-source, Rust-powered CLI that helps reorganize shared TypeScript `type` aliases and `interface` declarations.

It scans projects for exported types referenced by at least two files, generates a reviewable JSON/Markdown plan, updates supported imports and re-exports, and validates changes with TypeScript. Developers approve destinations and can preview or apply refactorings, including direct extraction. The v1 release targets `.ts` and `.tsx` files and does not automatically merge duplicate definitions.

dashersw/coyopedal

github.com · 26 Sept

Hardware · TypeScript · Open Source

CoyoPedal is an open-source standalone guitar amp and effects pedal for ESP32-S3.

It runs full-size Neural Amp Modeler A2 captures at 48 kHz, loads .nam files directly from microSD, and provides presets, tuner, touchscreen controls, and USB audio hosting. Its TSX UI and DSP also compile to native C++ and WebAssembly for browser use.

Bun v1.3.9

bun.com · 8 Feb

JavaScript · Testing · TypeScript

Bun 1.2 introduces several significant features and performance optimizations.

Key additions include the --parallel and --sequential flags for running package.json scripts with Foreman-style prefixed output, allowing better control over concurrent task execution. The update also brings HTTP/2 connection upgrades via net.Server, Symbol.dispose support for mock() and spyOn() in bun:test, and ESM bytecode support for --compile. Performance improvements are notable across the board, with SIMD-accelerated regular expressions and Markdown-to-HTML rendering. The JavaScriptCore engine has been upgraded, resulting in substantial speedups for String.prototype.startsWith, Set.size, and Map.size. Additionally, critical bug fixes address ARMv8.0 crashes, NO_PROXY environment variable handling, and Windows path normalization issues in node:fs.

Parser Combinators

t3.at · 17 Oct

JavaScript · TypeScript

Parser combinators build structured data parsers by composing partial TypeScript functions of type `Parser<T> = (input: string) => [T, string]`. `pSeq` chains parsers, `pMap` transforms results, and `pRepeat` handles repetition.

The example combines these primitives to parse Cloudflare’s `ping` output into typed `PingResult` data containing header, ICMP packets, and statistics, illustrating why composable parsers are more suitable than regex for complex structured text.

Where it came fromHacker NewsDev.toLobstersGitHubBuild a TypeScript digest that keeps language, framework, and tooling updates in one scheduled email.Build your digest