Other Topics #

JSON
A complete guide to JSON in TypeScript — JSON.stringify and JSON.parse along with their return type traps, replacer and reviver functions for custom transformations, JSON schema validation with Zod and type guards, class serialization with toJSON, handling non-serializable values like Date BigInt undefined and Map, JSON Lines for streaming large data, a comparison of JSON5 and JSONC for configuration, and safe patterns for reading JSON from files and APIs.
YAML
A complete guide to YAML in TypeScript — YAML syntax along with the Norway problem trap and ambiguous strings, parsing with js-yaml and the yaml library, validation with Zod for full type safety, serializing TypeScript to YAML, multi-document YAML, anchors and aliases to avoid duplication, safely reading YAML config files, integration with Docker Compose and Kubernetes manifests, plus a comparison of YAML vs JSON vs TOML for various use cases.
SQL
SQL # MySQL A complete guide to using MySQL in TypeScript — installing and configuring mysql2, connections and connection pools, CRUD operations with parameterized queries, typed results, transactions, error handling, and idiomatic patterns for safe and efficient database integration. MSSQL A complete guide to using Microsoft SQL Server in TypeScript — installing and configuring mssql, connection pools, CRUD operations with parameterized queries, SQL Server data types, transactions, stored procedures, error handling, and idiomatic patterns for safe SQL Server integration.
Nosql
NoSQL # MongoDB A complete guide to using MongoDB in TypeScript — connecting with the official driver, CRUD operations, typing with interfaces, the aggregation pipeline, indexing, and error handling. Elasticsearch A complete guide to using Elasticsearch in TypeScript — connecting with the official client, indexing documents, full-text search, the Query DSL, aggregation, and integration patterns with your primary database.
Cache
Cache # Redis A complete guide to using Redis in TypeScript — connecting with ioredis, Redis data structures, caching patterns, session management, rate limiting, pub/sub, and distributed locks. Memcached A complete guide to using Memcached in TypeScript — connecting with memjs, basic cache operations, caching patterns, consistent hashing on multi-server setups, a comparison with Redis, and when to choose Memcached.
Articles & Resources
A curated collection of resources to deepen your TypeScript knowledge — official documentation, books, courses, blogs, tools, and references for database, caching, and the TypeScript ecosystem in general.
About | Author | Content Scope | Editorial Policy | Privacy Policy | Disclaimer | Contact