Files
react-native-devtools-frontend/node_modules/globjoin
Mathias Bynens 779b5ea094 Roll Puppeteer v4.0.0
DISABLE_THIRD_PARTY_CHECK=updating node_modules deps

Change-Id: I37d4670cf18e26e8caa8a5b1ca19c8f187244bac
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2259851
Commit-Queue: Mathias Bynens <mathias@chromium.org>
Auto-Submit: Mathias Bynens <mathias@chromium.org>
Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>
2020-06-23 12:40:26 +00:00
..
2020-06-11 06:20:04 +00:00
2020-06-11 06:20:04 +00:00
2020-06-11 06:20:04 +00:00
2020-06-23 12:40:26 +00:00
2020-06-11 06:20:04 +00:00

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 Node's 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

Don't 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