Hacker News with Generative AI: TypeScript

Show HN: SuperUtilsPlus – A Modern Alternative to Lodash (github.com/dhaxor)
A superior alternative to Lodash with improved performance, TypeScript support, and developer experience.
Show HN: Advanced Chunking in JavaScript/TypeScript with Chonkie (ycombinator.com)
Hi HN,<p>We’re Shreyash and Bhavnick. We built Chonkie, an open-source library for advanced chunking and embedding of text and code. It was previously Python-only, but we just released a TypeScript version: https://github.com/chonkie-inc/chonkie-ts<p>Many AI projects in JS/TS (like those using Vercel's AI SDK or Mastra) rely on basic text splitters. But better chunking = better retrieval = better performance. That’s what Chonkie is built for.
A 10x Faster TypeScript with Anders Hejlsberg [video] (youtube.com)
TypeScript Native Previews (microsoft.com)
This past March we unveiled our efforts to port the TypeScript compiler and toolset to native code.
Show HN: Hover Effects TS – ASCII, Lego, and glitch hover effects using canvas (npmjs.com)
A collection of beautiful hover effects for images using canvas. Built with TypeScript and optimized for performance.
Zod 4 (zod.dev)
After a year of active development: Zod 4 is now stable! It's faster, slimmer, more tsc-efficient, and implements some long-requested features.
Launch HN: Better Auth (YC X25) – Authentication Framework for TypeScript (ycombinator.com)
Hi HN! We’re Bereket and KinfeMichael of Better Auth (https://www.better-auth.com/), a comprehensive authentication framework for TypeScript that lets you implement everything from simple auth flows to enterprise-grade systems directly on your own database, embedded in your backend.
Why Our CTO Banned TypeScript After One Migration (arthur.place)
I migrated one of our biggest JavaScript codebases to TypeScript — and after everything started working too well, our CTO banned it.
Hyper Typing (pscanf.com)
Lately I’ve been trying out a few libraries that - in pursuit of perfect type safety - make their typings so complex that it makes them almost unusable, in my opinion. I call this approach hyper-typing, and I worry it’s becoming a trend in the TypeScript ecosystem.
Microsoft winnows: Layoffs hit software engineers hard (theregister.com)
Microsoft's recent round of layoffs appears to have fallen largely on software developers, including several prominent Python developers and a veteran TypeScript developer.
Show HN: Solidis – Tiny TS Redis client, no deps, for serverless (github.com/vcms-io)
Solidis is a modern RESP client built with SOLID principles, zero dependencies, and enterprise-grade performance in mind.
Show HN: I reinvented PHP in TypeScript (demo) (github.com/vseplet)
Morph is an embeddable fullstack library for building Hypermedia-Driven Applications without a build step, based on HTMX.
Microsoft Lays Off TypeScript Compiler Veteran Ron Buckton (outlookbusiness.com)
Ron Buckton, a former senior software development engineer at Microsoft who contributed to the development of the TypeScript compiler and language service in native code, was among the 6,000 employees laid off by the company on Tuesday.
Show HN: Robust LLM Extractor for HTML/Markdown in TypeScript (github.com/lightfeed)
Use LLMs to robustly extract structured data from HTML and markdown.
Show HN: Aberdeen – An elegant approach to reactive UIs (aberdeenjs.org)
Build blazing-fast, declarative UIs in pure TypeScript/JavaScript – no virtual DOM.
Show HN: VoltAgent – Open-Source Observability-First TS AI Agent Framework (github.com/VoltAgent)
VoltAgent is an open source TypeScript framework for building and orchestrating AI agents.
Automatically add missing "async/await" keywords to your TypeScript code (github.com/stanNthe5)
This VScode extension automatically add missing 'async/await' keywords when you save a typescript file.
Show HN: Moose – OSS framework to build analytical back ends with ClickHouse (fiveonefour.com)
Moose lets you develop analytical backends in pure TypeScript or Python code like this:
N-Params vs. Single Param (carlos-menezes.com)
When writing functions in TypeScript (and, truthfully, any language that does not support named parameters), you either pass arguments individually (n params) or group them into a single object.
Ts-Rest: TypeScript Contracts for REST APIs with Built-In Zod Validation (ts-rest.com)
A seriously tiny type-safe wrapper around existing, battle-tested, established techAn incrementally adoptable tool, for TS-first teams who care about stability + safetyNo opinionated API structure, should be compatible with your existing structures
Show HN: Zero-codegen, no-compile TypeScript type inference from Protobufs (github.com/nathanhleung)
Zero-codegen TypeScript type inference from protobuf messages.
Show HN: Gatehouse-TS – TypeScript port of Rust's authorization policy framework (github.com/9Morello)
Gatehouse-TS is a flexible, zero-dependencies authorization library written in TypeScript. It combines role-based (RBAC), attribute-based (ABAC), and relationship-based (ReBAC) access control policies. Port of the Gatehouse authorization library for Rust. The original authors did a fantastic job at creating an easy to use API, and were kind enough to let this library be named after Gatehouse.
Zod v4 Beta (v4.zod.dev)
Zod 4 is now in beta after over a year of active development. It's faster, slimmer, more tsc-efficient, and implements some long-requested features.
ArkType: Ergonomic TS validator 100x faster than Zod (arktype.io)
📈 Announcing ArkType 2.1 📈Search⌘K
Use the Gemini API with OpenAI Fallback in TypeScript (sometechblog.com)
If you want to use Gemini’s public API, but at the same time have a safe fallback in case you have exhausted the rate limits, you can use the OpenAI TS/JS library and a few helper functions. In my particular case I needed a type-safe solution for a chartmaker app with a fallback since Gemini’s gemini-2.5-pro-exp-03-25 model is restricted to 20 request/min.
In Defence of TypeScript Enums (yazanalaboudi.dev)
In the past few years, there’s been a growing trend of criticizing TypeScript’s enum feature.
Show HN: TypeScript as a proof assistant for intuitionistic propositional logic (github.com)
TypeScript can be used just like a proof assistant (for intuitionistic propositional logic)!
Typed Japanese (github.com/typedgrammar)
If you can write TypeScript, you can understand Japanese!
TypeScript is Like C# – A Backend Guide (chrlschn.dev)
If you already know TypeScript, then learning C# is easy! This guide walks you through the similarities (and differences) between TypeScript and C#.
Show HN: Minimal JavaScript/TS framework that made us 10k in 10 days (github.com/The-Pocket-World)
Enable LLMs to Program Themselves.