glob-ln
link files and directories with glob patterns and variables.
install
npm install glob-ln
use
var ln = ; // asyncvar src = __dirname + '/fixtures/:module/public';var dest = __dirname + '/public/:module';var options = force: true;;
//or sync versionln;
use absolute paths on
src
anddest
to create links.
you can use the whole glob syntax in the
src
anddest
pattern, as well as theglob-var
variables starting with a colon:
functions
ln(srcPattern, destPattern [,options] ,callback)
async glob ln version.
ln.sync(srcPattern, destPattern [,options])
sync glob ln version.
options
// options with the following default values:var options = // remove destination before operation force: false ;
test
npm test
license
MIT