Nodejs module to handle glob pattern set