nl_tokens: Get list of directories dir from asynchronously
pl_tokens: function getDirectories ( dir , cb ) { fs . readdir ( dir , function ( err , objects ) { if ( err ) { return cb && cb ( err ) ; } var dirs = objects . filter ( function ( item ) { return <mask> . statSync ( path . join ( dir , item ) ) . isDirectory ( ) ; } ) ; cb && cb ( null , dirs ) } ) }