JavaScript
Beginner
Node: Read a Large File Line-by-Line
Read a large text file safely using Node.js streams and async iteration without loading the entire file into memory.
Reusable code, without the clutter
CodeSnippets.ca organizes short, useful patterns and utilities while keeping the canonical code on GitHub Gist.
Featured
Read a large text file safely using Node.js streams and async iteration without loading the entire file into memory.
Filter and map JSONL records from standard input while respecting stream backpressure.
A small dependency-free pattern for tracking and running SQLite migrations in order.
Approach
Add title, language, category, tags, difficulty, and a short use case to the JSON data or collection front matter.
Keep the code, revisions, comments, and raw file access on GitHub Gist.
Jekyll generates clean pages, while the small script handles instant filtering.