javascript
nodejs change dir
Changing Directory in Node.js Node.js provides an fs module that allows you to work with the file system in a non-blocking way. One of the functions provided by this module is fs.readdir(), which allows you to read the contents of a directory. Changing the Current Working Directory