index.js
function readdirAsync(filepath){
	return new Promise((resolve, reject)=>{
		fs.readdir(filepath, (err, items)=>{
			if (err) reject(err)
			else resolve(items)
		})
	})
}
function readdirAsync(filepath){
	return new Promise((resolve, reject)=>{
		fs.readdir(filepath, (err, items)=>{
			if (err) reject(err)
			else resolve(items)
		})
	})
}
function readdirAsync ( filepath ) { return new Promise ( ( resolve , reject ) => { fs . readdir ( filepath , ( err , items ) => { if ( err ) reject ( err ) else resolve ( items ) } ) } ) }
simple promisification of fs.readdir
simple promisification of fs . readdir