* Add 10 comprehensive Node.js interview questions
This significantly expands the Node.js question coverage:
New questions added:
- Event loop working and its 6 phases
- Streams and buffers deep dive
- Cluster vs worker threads comparison
- Memory leak debugging techniques
- Middleware pattern in Express
- Async patterns (callbacks, promises, async/await)
- Security best practices (SQL injection, XSS, CSRF)
- Performance optimization techniques
- Testing asynchronous code
- NPM package security
Each question includes:
- Detailed explanations
- Working code examples
- Best practices
- Common pitfalls to avoid
This increases Node.js questions from 8 to 18, providing comprehensive interview preparation coverage.
* fix: use self-contained filter in compression middleware example
* fix: address all Copilot AI review comments and convert to ES modules
- Convert all CommonJS require() to ES modules import syntax
- Use compression.filter() as fallback in compression middleware
- Add cleanup interval to rate limiter to prevent memory leaks
- Remove unused fs.createWriteStream in heap snapshot example
- Fix promisify example to use callback-based fs API
- Split GET/POST tests into separate describe blocks
- Fix Jest timers with beforeEach/afterEach hooks
- Use specific version tag for GitHub Actions (security best practice)