Skip to content

Conversation

@Musmen
Copy link
Owner

@Musmen Musmen commented Apr 28, 2025

  1. Task link: https://github.com/AlreadyBored/nodejs-assignments/blob/main/assignments/nodejs-basics/assignment.md
  2. Deadline: 2025-04-29 03:00
  3. Self-check: 206/206 points

Note to reviewer: all file extensions are '.mjs' because I use ES6 module imports. Please take this into account when checking manually or use prepared scripts in package.json.

For the "cli:env" task, you need to install the "cross-env" npm package globally (npm i -g cross-env). Otherwise, the "npx cross-env SOME=any ..." command may not work correctly.

Basic Scope (+136 points)

  • File system (src/fs)
    • +6 create.mjs implemented properly
    • +10 copy.mjs implemented properly
    • +10 rename.mjs implemented properly
    • +6 delete.mjs implemented properly
    • +6 list.mjs implemented properly
    • +6 read.mjs implemented properly
  • Command line interface(src/cli)
    • +6 env.mjs implemented properly
    • +6 args.mjs implemented properly
  • Modules(src/modules)
    • +20 cjsToEsm.cjs refactored properly into esm.mjs
  • Hash (src/hash)
    • +10 calcHash.mjs implemented properly
  • Streams (src/streams)
    • +10 read.mjs implemented properly
    • +10 write.mjs implemented properly
    • +10 transform.mjs implemented properly
  • Zlib (src/zip)
    • +10 compress.mjs implemented properly
    • +10 decompress.mjs implemented properly

Advanced Scope (+70 points)

  • Worker Threads (src/wt)
    • +10 worker.mjs implemented properly
    • +30 main.mjs implemented properly
  • Child Processes (src/cp)
    • +10 spawns child process
    • +10 child process stdin receives input from master process stdin
    • +10 child process stdout sends data to master process stdout

Forfeits (0 points)

Total (136 + 70 - 0 = 206 points)

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