Skip to content

Conversation

@toby-28
Copy link

@toby-28 toby-28 commented Nov 3, 2025

This PR contains my solution for the Node.js basics task (Q4 2025) as part of The Rolling Scopes School.
Author: Hushnudbek

toby-28 and others added 29 commits October 20, 2025 18:46
Implement file creation with error handling for existing files.
Implement file copy functionality with error handling.
Refactor rename function to rename a file and handle errors.
Refactor remove function to use fs/promises for file deletion.
Added functionality to list files in the 'files' directory and handle errors.
Filter and format environment variables starting with 'RSS_'
Enhance argument parsing to log key-value pairs.
Implement ESM module with server setup and JSON handling
Refactor hash calculation to use streams and handle file reading errors.
Implement file reading using streams and handle errors.
Refactor write function to handle file writing from stdin.
Added a Transform stream to reverse input data.
Implement file compression using gzip.
Implement decompression of a .gz file to a text file.
Refactored code to use worker threads for parallel calculations based on the number of CPU cores.
Implement message listener to handle Fibonacci requests from the main thread and send results back.
Updated spawnChildProcess to utilize the child_process module for improved process management and added argument handling.
Update file path resolution to use __dirname for consistency.
This README provides an overview of the project, including goals, folder structure, setup instructions, testing, and contributing guidelines.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant