Skip to content

Conversation

@andriihordov
Copy link
Owner

Task: Node.js basics

Done 2025-10-26 / deadline 2025-10-27
Score: 206 / 206

✅ File system (src/fs)

  • create.js implemented properly (6/6)
  • copy.js implemented properly (10/10)
  • rename.js implemented properly (10/10)
  • delete.js implemented properly (6/6)
  • list.js implemented properly (6/6)
  • read.js implemented properly (6/6)

✅ Command line interface(src/cli)

  • env.js implemented properly (6/6)
  • args.js implemented properly (6/6)

✅ Modules(src/modules)

  • cjsToEsm.cjs refactored properly (20/20)

✅ Hash (src/hash)

  • calcHash.js implemented properly (10/10)

✅ Streams (src/streams)

  • read.js implemented properly (10/10)
  • write.js implemented properly (10/10)
  • transform.js implemented properly (10/10)

✅ Zlib (src/zip)

  • compress.js implemented properly (10/10)
  • decompress.js implemented properly (10/10)

✅ Worker Threads (src/wt)

  • worker.js implemented properly (10/10)
  • main.js implemented properly (30/30)

✅ Child Processes (src/cp)

  • spawns child process (10/10)
  • child process stdin receives input from master process stdin (10/10)
  • child process stdout sends data to master process stdout (10/10)

fix: add missed await keywords
This refactor separates all static configuration (paths, error messages) into a new 'constants.js' file, processed data which functions need (resolved paths, access conditions) into a new 'functionDescriptors.js' file. Naming conventions were standardized to SCREAMING_SNAKE_CASE for primitive constants and camelCase for object properties. All accessing functions have been updated to use the new module structure. Use better names for constants used to implement 'fs' functions
…s.js to separate constants for different modules
@andriihordov andriihordov changed the title Node.js basics #1 Node.js basics Oct 26, 2025
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.

2 participants