JavaScript Notes
Browse JavaScript and Node.js guides for practical web development tasks: browser extensions, AWS Lambda response streaming, local setup, and Svelte-related frontend workflows.
JavaScript and Node.js Guides
- Compare JSON Arrays by ID Without Reorder Noise - October 6, 2026
Compare reordered API records by a unique ID, find the actual changed field, and keep the original and changed JSONPaths in an exported diff.
- Find and Fix Common JSON Syntax Errors - October 6, 2026
Diagnose invalid JSON with examples of trailing commas, missing commas, single quotes, unescaped characters and incomplete API responses.
- Generate JSON Schema from a Sample API Response - October 6, 2026
Turn a sample JSON API response into a Draft 2020-12 schema, review required and optional fields, and understand what sample inference cannot establish.
- Compare API JSON Responses While Ignoring Timestamps - October 6, 2026
Ignore selected timestamp and request metadata fields in a JSON diff while retaining real API changes, with exact paths, wildcards and a reproducible example.
- Filter a Nested API Response with JSONPath - October 6, 2026
Extract records and individual fields from a nested JSON API response with JSONPath filters, then inspect matching paths and JSON Pointers.
- How to Install Node.js and NPM on Ubuntu - May 2, 2024
Install Node.js and npm on Ubuntu with NodeSource packages, apt commands, version checks, and setup notes for local development.
- AWS Lambda Function with Response Streaming using Node.js - July 23, 2023
Build an AWS Lambda response streaming function in Node.js, deploy it, and return streamed text with StreamifyResponse and HTTP response streams.
- Build a Chrome Extension with Svelte - June 19, 2022
Build a Manifest V3 Chrome extension with Svelte, including the project setup, manifest file, background script, and a reusable starter structure.
- Focus a Dynamic Input Field in Svelte - November 10, 2020
Focus dynamically added input fields in Svelte with actions or autofocus patterns that improve form speed and user experience.
- Svelte 5 Tutorial - Runes, Props and State - August 13, 2020
Learn how to use Svelte 5 with a practical beginner tutorial covering setup, components, state, derived values, props, snippets, bindings, and lifecycle.