FeaturesPricingTopicsBlogGuides
← All topics

TypeScript

25 articles from DEV Community, Medium and more. Refreshed every few hours.

DEV Community

Template Literal Types Explained: Catching Path Typos at Compile Time

Somewhere in your codebase there's a function that looks like this: function get(obj: any, path: string) { return path.split(".").reduce((acc, key) => acc?.[key], obj); } const primaryColor = get(config, "theme.colros.primary"); Read that path again. colros, not colors. TypeScript compiles it without a single complaint. The app ships. primaryColor is undefined, some fallback kicks in, and the button is the wrong shade of blue for three weeks before a designer notices and files a ticket nobod

TypeScriptProgrammingJavaScript
27 Nov 2026
DEV Community

Build a partial rent ledger with FIFO payments and grace-period fee caps

A tenant pays $1,000 by Zelle and $100 by Venmo against $1,200 of October rent. In November, a $700 transfer clears October’s remaining $100 and puts $600 toward November. The statement needs to show the $700 receipt once, with both allocations, so the tenant can see exactly how the balance moved. Use one immutable payment record per transfer. Key it by provider and transfer ID, use the effective receipt date recorded for the tenancy, and sort by that date. In this example, the oldest unpaid ren

TypeScriptProgramming
26 Nov 2026
DEV Community

Reconcile a bank statement PDF to the cent before writing QuickBooks CSV

An opening balance of $2,450.00, one $1,200.05 deposit, and three withdrawals of $86.24, $86.24, and $12.34 must close at $3,465.23. The identical withdrawals look like a duplicate until you check their distinct bank references. Dropping either row makes the export wrong by $86.24. Extract one account and currency at a time. Read the opening and closing figures from the statement summary and keep them separate from the transaction table. For each row, retain the posted date, description, signed

TypeScriptProgramming
26 Nov 2026
DEV Community

One banquet event order, three PDFs: client pricing, kitchen prep, and revision diff

The client approved dinner for 80. The count goes up to 86, the dessert tray is canceled, and 12 late-night snacks are added. The kitchen needs the new counts and prep instructions. The client needs the revised total of $2,805.96. The event lead needs a record of what changed and why the bill went up by $189.95. Store each quantity and unit price as an integer. Multiply first, sum the line extensions, and round each percentage charge once on its agreed base. This example applies an 18% service c

TypeScriptProgramming
26 Nov 2026
DEV Community

Choosing an LLM framework: why we left BAML for LangChain, and two defaults that silently dropped our output

Picking an LLM framework usually starts with "which one has the nicest API". We learned to start with a different question: what does your request actually need to do between the user's click and the answer? This post covers how that question moved us from BAML to LangChain and LangGraph, how we chose, and two framework defaults that silently dropped output once we'd switched. I'm the founder of CV by JD. You upload your resume, paste a job description, and chat with an assistant that rewrites t

TypeScriptProgrammingAI
25 Nov 2026
DEV Community

How running out of API credits taught us to put every LLM call behind one gateway

This is a story about a failure that never showed up as an error. Our LLM credits ran out at one provider, nothing crashed, and users got stuck in a loop we didn't know about. Fixing it led us to route every model call through a single gateway, OpenRouter. Soon after that move we found a second silent failure: prompt caching wasn't working at all. If you call more than one LLM provider in production, or you rely on prompt caching to keep costs down, I hope this saves you from both mistakes. I'm

TypeScriptProgrammingAI
24 Nov 2026
DEV Community

Notes from scraping 4,400+ Xero, QuickBooks, Zoho & NetSuite apps over plain HTTP (38MB RAM)

Test run qUI9gTtRIHTWhqEbR on our new Oracle NetSuite SuiteApp actor finished today in 3 seconds and peaked at 38.1 MB of RAM (30.5 MB average). No Playwright, no Puppeteer, no residential proxy rotation. I've spent the past few days writing HTTP-only extractors for four accounting and ERP app directories: Xero (570+ apps), QuickBooks (660+ US listings, 6,400+ across all locales), Zoho Marketplace (2,500+ extensions), and Oracle NetSuite's suiteapp.com (724 SuiteApps, 3,548 reviews). My main goa

TypeScriptProgrammingWeb development
22 Nov 2026
DEV Community

Pull the top pumpfun traders and what they are buying from a free public API, in TypeScript

Most pumpfun APIs return new coins. A different question is more interesting to a developer: which accounts made the most realized profit over the last 30 days, and which coins are several tracked traders buying right now? This post answers both with two plain GET requests and about 100 lines of TypeScript. No key, no scraper, no library. The output is two small tables, and a saved fixture lets you reproduce the numbers printed below. Disclosure: I am the founder of copy.top. The API used here i

TypeScriptProgrammingJavaScript
21 Nov 2026
DEV Community

Building a Pantry Tracker, Part 1: The Plan

Why I'm building this Hi! I'm building a pantry tracker, a small app that keeps track of the food at home and tells me what to eat first. It's also my excuse to get properly hands-on with Go, Vue and React Native. I learn best by building something I'll actually use, so that's the plan here. The idea came straight from my own kitchen. Something gets pushed to the back of a shelf, I forget it's there, and a week later I find it well past its date. Or I come home from the shop with a second jar

TypeScriptProgramming
20 Nov 2026
DEV Community

Live riders on a map: Supabase Realtime + Mapbox in React Native (and the bill nobody warns you about)

In my previous post I said I'm building a motorcycle app. The feature people ask about most is the live map: open it, see riders who are on the road right now, moving in real time. With ten users it's easy. With real users it gets interesting. Here is how it works in BRAP (Expo + Supabase + Mapbox), and what production taught me. A ride in progress is a single row with a user id, lat, lng and a timestamp. Row exists = riding. Ride ends = row deleted. Everything else follows: who is riding? a se

TypeScriptProgramming
17 Nov 2026
Medium

TypeScript Is Growing Faster Than JavaScript. What Changed?

JavaScript still powers the web. But as applications become larger, teams become more distributed, and AI writes more code, TypeScript is… Continue reading on Skill Stuff »

TypeScriptProgrammingWeb development
17 Nov 2026
DEV Community

Building HabitMaker: an open-source habit tracker with Angular 22, NestJS 11, and Web Push reminders

Building HabitMaker: an open-source habit tracker with Angular 22, NestJS 11, and Web Push reminders HabitMaker is a small, open-source habit tracker I built to make progress feel gentler: no streak shaming, no perfectionism, just a calm place to notice that you showed up. It is a full-stack application in an Nx monorepo, with an Angular frontend, a NestJS API, a shared UI library, a marketing site, Docker support, and timezone-aware web push reminders. Live site: habitmaker.josesaranda.es R

TypeScriptProgrammingOpen source
15 Nov 2026
DEV Community

Production-Grade Code: What Separates Hobby Apps from Real Ones

Your app works on your laptop. Now picture a thousand strangers signing up tomorrow: one types garbage into every field, one forgets a password, a bot tries ten thousand logins, and your database goes down at 3 a.m. Would you sleep? Today I'll give you the eight habits that make the answer yes, with the code for each one and exactly what's enough. When I started building things, I built them from my head. No plan, no sketch. I kept going until I liked how it looked. Semantics, SEO, code security

TypeScriptProgrammingWeb development
15 Nov 2026
DEV Community

5 In-Demand Developer Skills for Late 2026, Ranked by the Data

Skills lists are everywhere, and many are guesses. This one ranks five technical skills by how consistently they show up in four 2026 data sources, and gives you a free place to start with each. It is an editorial synthesis, not an official ranking. AI tools are now part of daily work. In Stack Overflow's 2026 survey, 73% of developers who use AI coding assistants or agents use them daily. LinkedIn's 2026 Skills on the Rise list groups RAG, vector databases, LangChain, prompt engineering, the Op

TypeScriptProgrammingAI
14 Nov 2026
Medium

Angular 22.3: Guida Completa alle Novità, Miglioramenti e Refactoring (Prima vs Dopo)

Novembre 2026 — L’ecosistema Angular continua la sua evoluzione all’insegna della stabilità e delle performance. Continue reading on Medium »

TypeScriptProgrammingWeb development
13 Nov 2026
DEV Community

Accept crypto payments in NestJS

How to accept USDT, BTC and other coins in a NestJS app: a provider wrapping the SDK, a controller that redirects to the checkout page where the customer picks the coin, and a webhook controller that reads req.rawBody and verifies the HMAC signature. In the Moonvex dashboard go to “Integration” → “Create key” → type “Secret” (sk_live_…). The key is shown only once: store it on your server as MOONVEX_SECRET_KEY. On the same page add a webhook pointing to an https URL on your server and store its

TypeScriptProgrammingWeb development
13 Nov 2026
DEV Community

How I Built a Self-Healing Study Planner: Catching Paywalled "Free" Courses with Cheerio and Schema.org

Most AI study path generators fail in a predictable way: they hallucinate dead links, ignore real-world weekly time constraints, or link to "free" courses that suddenly demand a credit card on Week 3. I built Episteme AI (live demo) to solve this at the pipeline level. Here is how the paywall detection and constraint enforcement work under the hood. Many course pages return HTTP 200 while locking content behind a paywall, subscription, or 7-day trial. Rather than trusting status codes, we fetch

TypeScriptProgrammingAI
12 Nov 2026
DEV Community

AppConfig feature flags in Lambda: safe rollouts

AppConfig feature flags let you switch on new features in Lambda without redeploying, and they do it step by step instead of for everyone at once. That last part is why I stop using Parameter Store once a switch changes real behavior. A value in Parameter Store applies everywhere immediately. A flag in AppConfig first reaches a share of your execution environments, gets watched, and rolls back by itself if errors show up. In this article you build all of that with AWS CDK and TypeScript: a small

TypeScriptProgramming
4 Nov 2026
DEV Community

SMS Event Notifications for Gaming Signups: Keeping Verification Evidence Separate

A gaming signup using SMS event notifications needs two different records: what happened to the message carrying the verification link, and whether someone actually completed verification. Mixing those records makes a support ticket harder to investigate. It also makes a compliance review harder to explain. TL;DR: Retrieve SMS events by message ID, retain the response alongside an application-owned signup reference, and record successful verification separately. Choose a messaging API by the evi

TypeScriptProgrammingCybersecurity
2 Nov 2026
DEV Community

My betting model looked great for 3,671 predictions. It never beat the bookmaker.

For 16 days I logged every probability my sports-betting model announced before a match, and what actually happened afterwards: 3,671 settled predictions. By the usual numbers, it looked good: Brier score 0.1629 (lower is better) Better than what? On the 510 predictions where I had the bookmaker's probability (vig removed) for the very same outcome: Brier The number that would have saved me weeks median gap: 1.0 point The tool Reproduce every number in this post: git clone https://github.com/ewa

TypeScriptProgrammingMachine learning
2 Nov 2026
DEV Community

What a JSON converter drafts from the first object

I copied an API response into a blank file and started a TypeScript interface by hand. The payload was a list of two people. Each object had an id, a name, a role, and a meta object with an active flag. I typed the fields from the first person and assumed the second person used the same keys. The JSON converter at https://kepttools.com/json-converter makes that rule visible. Paste the text. It runs in the browser and drafts the interface from the first object only. The same paste can also become

TypeScriptProgramming
2 Nov 2026
DEV Community

Temporal API in TypeScript: deadlines and time zones

Being able to use the Temporal API in TypeScript was one of my favorite pieces of news around Node.js 26. Over the years I have seen plenty of code where a deadline was off by an hour because somebody wrote “plus 48 hours” instead of “plus two days” and a daylight saving change happened in between. Bugs like that don’t show up in tests. They show up in production, twice a year. In my article on Node.js 26 LTS on Lambda I only touched on Temporal briefly. This time we go deeper: step by step, you

TypeScriptProgrammingJavaScript
1 Nov 2026
DEV Community

I built a Discord bot that reads Vietnamese chat aloud. Here's what broke once real servers used it

Every Discord gaming group has one: the friend who can't talk. It's 1 a.m. and their family is asleep, or they're in a dorm, or the mic is just broken. So they type. And nobody in the middle of a match reads the chat. Discord has a built-in /tts, but only people who have that text channel open hear it, and the Vietnamese voice reads chat the way it's written. Type "ko" (short for "không", "no") and you hear the letters K and O. I'm Khanh Duy, an indie developer in Ho Chi Minh City, and I built V

TypeScriptProgramming
1 Nov 2026
DEV Community

Generated SQL migrations for Python, TypeScript and Go projects

Migrax started as a tool for Java: it reads JPA entities and writes the SQL migrations that bring the database in line with them. But the idea doesn't depend on Java. Every ORM knows the tables it expects, and almost every ORM can print them as CREATE TABLE statements. That SQL is all Migrax needs. Keep it in a schema file, and Migrax compares it with what the existing migrations build, writes the next numbered migration with its rollback script, and applies it. This article follows a small Pyth

TypeScriptProgrammingPython
31 Oct 2026
DEV Community

Reading Outlook .msg files in the browser: the compound file, MAPI properties, and a body that only exists as RTF

An .eml file is text: headers, a blank line, then MIME parts. Open one in a text editor and you can read most of it. An Outlook .msg file is different. In an editor you see binary noise, with fragments of text that have a NUL byte between every letter. I work on a browser tool that turns .eml and .msg emails into PDFs. This post is about the .msg side: what the file actually is, which part I left to a library, and the small decisions the library leaves to you. A .msg is a Compound File Binary (C

TypeScriptProgrammingJavaScript
30 Oct 2026

Related topics

ProgrammingWeb developmentJavaScriptAIOpen sourceLarge language modelsPythonTechnology

Start with the tab you have open.

Free for your first hundred saves. No card needed.

tagit

Save it, describe it, find it again. Bookmarks that work the way remembering works.

Developed in Iceland
ProductFeaturesFor AI toolsFor teamsPricingChrome extension
ResourcesBlogGuidesTopicsWhy tagsTagging guideContact
CompanyTerms of servicePrivacy policyExtension privacyRefund policy
© bla ehf.support@tagit.io