jnitin29 / nodejs-ls

week 1 lab
MIT License
0 stars 0 forks source link

Parallel Asynchronous Recursive ls

A parallelized recursive implementation of ls using fs.readdir

Time spent: 6 hours

Completed:

Walkthrough Gif:

Video Walkthrough

How To Use:

Setup

  1. Follow the Node.js Setup Guide
  2. Clone the repo:

    git clone https://github.com/jnitin29/nodejs-ls/

Development

  1. Place all your code in ls.js's async function ls():

    require('./helper')
    
    async function ls() {
      // Use 'await' inside 'async function's
      console.log('Executing ls function...')
    
      // Your implementation here
    }
    
    ls()
  2. Run:

    babel-node ./ls.js