Tag: javascript
Browse 109 practical software engineering resources tagged with "javascript". Discover code recipes, design patterns, documentation templates, and in-depth guides to help you build, deploy, and maintain production-ready solutions involving javascript. Each resource is written for engineers who ship real systems, with copy-paste examples and practical trade-offs.
JavaScript in the Modern Web
JavaScript runs in browsers, servers, mobile runtimes, and edge workers. Writing maintainable JavaScript requires discipline: modular code, async patterns, type safety, testing, and performance awareness.
The recipes and guides in this collection cover Node.js, modern frameworks, DOM manipulation, event-driven code, error handling, and build tooling. Each resource is focused on practical patterns that hold up in production.
Every resource includes clear explanations, copy-paste code, and practical warnings. Use them to make informed decisions, avoid production pitfalls, and speed up your delivery. If you are just getting started, read the beginner-friendly articles first; if you are experienced, jump straight to the advanced patterns and architecture guides. New resources are added regularly, so bookmark this page and check back for the latest patterns.
Handle API Errors with RFC 7807 and HTTP Status Codes
Patterns for consistent, predictable API error handling across multiple languages and frameworks.
JavaScript Fetch Retry Logic with Exponential Backoff
Retry failed HTTP requests in JavaScript with exponential backoff
Node.js WebSocket Real-Time Communication with Socket.io
Build real-time WebSocket applications in Node.js with Socket.io
Build Real-Time Notifications with WebSockets
Implement a real-time notification system using WebSockets and Redis pub/sub for broadcasting...
Send Transactional Emails with SMTP in Python, Node.js
Learn to send transactional and bulk emails via SMTP with Python, Node.js, and Java. Covers auth,...
Build a WebSocket Server (Python, Node.js, Java)
How to build a WebSocket server for bidirectional real-time communication, with connection...
Node.js JWT Authentication: Verify and Refresh Tokens
Implement JWT authentication in Node.js with access and refresh tokens
Node.js OAuth2 GitHub Login with Express
Implement GitHub OAuth2 login flow in Node.js with Express and Passport
Caching & Memoization in Python, JavaScript, and Java
How to cache expensive computations and API responses using in-memory LRU, TTL, and distributed...
Convert CSV to JSON
Turn CSV files into structured JSON using Python, JavaScript, and Java. Pick the right library for...
Convert JSON to CSV
How to convert JSON data to CSV format in Python, Java, and JavaScript — flatten nested objects,...
Deep Clone in JavaScript: structuredClone vs lodash vs JSON
Compare deep clone methods in JavaScript, Python and Java. Create independent copies of objects and...
Deep Clone Objects in JavaScript: Beyond JSON.parse
Compare deep clone strategies including JSON.parse, structuredClone, manual recursion, and library...
Diff JSON Objects
How to compare two JSON objects and find differences in Python, Java, and JavaScript.
How to Generate URL Slugs (Python, JS, Java)
How to generate clean, URL-friendly slugs from strings in Python, JavaScript, Java, and Go — with...
Merge JSON Files
How to merge multiple JSON files into a single object or array in Python, Java, and JavaScript.
Merge JSON Files in JavaScript
Combine multiple JSON files with conflict resolution strategies using Node.js.
Parse Command Line Arguments: argparse, Commander & picocli
How to parse command line arguments in Python, Java, and Node.js CLI applications.
Parse CSV Files
How to parse CSV files in Python, Java, and JavaScript with practical code examples.