nl_tokens: Check if the given directory dir is empty .
pl_tokens: function emptyDirectory ( dir , fn ) { fs . readdir ( dir , function ( <mask> , files ) { if ( err && err . code !== 'ENOENT' ) throw err fn ( ! files || ! files . length ) } ) }