
Design Patterns in TypeScript (Part 1: Creational)
30 min read
All five Creational design patterns in TypeScript — Singleton, Factory, Abstract Factory, Prototype, and Builder.
TypeScriptDesign Patterns
Yurii Khvyshchuk — also known as Yura Khvyshchuk, Юрій Хвищук, Юра Хвищук, Хвищук, yuragon, yurkagon. Software Engineer based on the web, building projects with TypeScript, React, Next.js and Node.js.

const aboutMe = {
name: "Yurii Khvyshchuk",
role: "Software Engineer",
inspiration: [
"TypeScript",
"NodeJS",
"React",
],
location: "Lviv, Ukraine🇺🇦",
} as const satisfies Profile;

All five Creational design patterns in TypeScript — Singleton, Factory, Abstract Factory, Prototype, and Builder.

Node.js backend for Apple Wallet: .pkpass generation, APNs silent push, and PassKit web service endpoints.

Semantic HTML, meta tags, sitemap, Open Graph, JSON-LD, and llms.txt — practical SEO setup for a Next.js blog.