ls
A parallelized recursive implementation of ls
using fs.readdir
Clone the repo:
git clone git@github.com:CrabDude/nodejs-ls.git
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()
Run:
babel-node ./ls.js