Skip to content

dzemlyakov/node-nodejs-basics

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node.js basics

Clone this repository with comand: git clone

To check the tasks open terminal(your curent work directory should be:User/../node-nodejs-basics/ ) and follow this instructions:

Filesystem

  • read: npm run fs-read
  • write: npm run fs-write
  • delete: npm run fs-delete
  • list: npm run fs-list
  • copy: npm run fs-copy
  • rename: npm run fs-rename

CLI

  • env:

  • for bash and zsh
    RSS_name1=foo RSS_name2=bar node src/cli/env.js

  • for windows powershell "set RSS_name1=foo&& set RSS_name2=foo node src/cli/env.js

  • argv: npm run cli-argv

Hash

  • hash: npm run hash

Modules

  • modules: npm run modules

Streams

  • read stream: npm run r-stream
  • write stream: npm run w-stream
  • transform stream: npm run t-stream

Compress

  • compress: npm run compress
  • decompress: npm run decompress

Worker threads

  • worker: npm run worker

Child process

  • cp: npm run cp

About

CLI application with basic Node.js operations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%