filesystem-composer Library for composing defer/when style promise based CommonJS filesystem API. Libraries build on top: promised-fs For more details check documentation. Install npm install filesystem-composer Test npm test filesystem-composer