This repository has been archived on 2020-11-02. You can view files and clone it, but cannot push or open issues or pull requests.
TripSit_Suite/node_modules/globjoin
cranberry ed23347e56 Initial comission of TheLounge base files 2020-11-01 22:46:04 +00:00
..
CHANGELOG.md Initial comission of TheLounge base files 2020-11-01 22:46:04 +00:00
LICENSE Initial comission of TheLounge base files 2020-11-01 22:46:04 +00:00
README.md Initial comission of TheLounge base files 2020-11-01 22:46:04 +00:00
index.js Initial comission of TheLounge base files 2020-11-01 22:46:04 +00:00
package.json Initial comission of TheLounge base files 2020-11-01 22:46:04 +00:00

README.md

globjoin

Join paths and globs.

MIT npm version David Dependency Badge

NPM NPM

Install

$ npm install globjoin

API

globjoin(globs...)

Join paths and globs.

Like Nodes path.join() that join all arguments together and normalize the resulting path, globjoin takes arbitrary number of paths and/or arrays of paths, join them together and take care of negative globs. #### Context Dont care. #### Parameters ##### paths/globs The paths/globs or arrays of paths/globs to join. #### Returns The result glob, or array of globs if any of paths/globs are array. #### Example

var join = require('globjoin');
var globs1 = join(__dirname, ['**/*.js', '!**/test*.js']);
var globs2 = join('test', 'fixture', 'app', ['views', '!services'], ['**/*', '!*.{js,json,coffee,ts}']);

Check out test for more examples.

Issues

Issues

Test

$ npm test

Changelog

Changelog

License

MIT

Author

Amobiz