Articles for the TypeScript tag – Page 2
-
react-scroll-into-view: The One-Component Scroll Whisperer
Sometimes all you need is a button that scrolls the page somewhere else. No scroll spy, no active states, no custom scroll math. Just click, scroll, done.
-
React Lite YouTube Embed: Put Your YouTube Embeds on a 500KB Diet
Every YouTube embed you drop into a page loads over 500KB of scripts, stylesheets, and tracking before the user even thinks about pressing play. React Lite YouTube Embed fixes that by showing a static thumbnail first and only loading the real iframe on click.
-
Croner: The Universal Cron Library That Runs Everywhere Your JavaScript Does
Scheduling tasks with cron expressions is one of those problems that looks solved until you try to do it in a browser, need second-level precision, or want to know when the last Friday of every month falls. Croner handles all of that and runs on every JavaScript runtime that matters.
-
focus-trap: The Accessibility Bouncer Your Modals Deserve
Every time a user opens a modal and Tab sends them behind the curtain into the void of the background page, an accessibility angel loses its wings. focus-trap is the decade-old, battle-hardened utility that keeps keyboard focus exactly where it belongs.
-
Ohm: The Parsing Toolkit That Finally Makes Grammars Fun
Most parsing libraries ask you to mash grammar rules and code logic into one tangled mess. Ohm takes the radical stance that grammars should just describe syntax, period. The result is a parsing toolkit that is cleaner, more reusable, and honestly kind of enjoyable to work with.
-
sql.js: The Entire SQLite Engine Running in Your Browser Tab
What if you could run a full relational database in your browser without a server, a network connection, or a single native binary? sql.js takes the legendary SQLite engine, compiles it to WebAssembly, and hands you the entire SQL dialect right in JavaScript. Fourteen years of battle-tested reliability, zero dependencies.
-
Shovel.js: What If Your Server Was Just a Service Worker?
What if the browser already had the right programming model for servers, and we just needed someone to notice? Shovel.js brings the Service Worker model to the backend, and the result is surprisingly elegant.
-
OTPAuth: Six Digits Standing Between You and Chaos
Passwords alone are not enough anymore. OTPAuth is a battle-tested TypeScript library that generates and validates one-time passwords following the TOTP and HOTP standards, making it straightforward to add two-factor authentication to any JavaScript application.
-
DayFlow: A Featherweight Calendar That Punches Above Its Weight
Building a scheduling UI from scratch is the kind of project that starts with optimism and ends with date math nightmares. DayFlow hands you a polished, Google Calendar-style component out of the box, backed by a plugin system that keeps the core impossibly small.
-
Dockview: Build VS Code-Style Layouts Without Breaking a Sweat
Ever wondered how VS Code pulls off that slick panel-docking experience? Dockview brings the same IDE-grade layout system to your own apps, complete with drag-and-drop tabs, floating panels, and popout windows. Zero dependencies, full TypeScript support, and it works with React, Vue, Angular, or plain vanilla.