5 [![MIT](http://img.shields.io/badge/license-MIT-brightgreen.svg)](https://github.com/amobiz/globjoin/blob/master/LICENSE) [![npm version](https://badge.fury.io/js/globjoin.svg)](http://badge.fury.io/js/globjoin) [![David Dependency Badge](https://david-dm.org/amobiz/globjoin.svg)](https://david-dm.org/amobiz/globjoin)
7 [![NPM](https://nodei.co/npm/globjoin.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/globjoin.png?downloads=true&downloadRank=true&stars=true) [![NPM](https://nodei.co/npm-dl/globjoin.png?months=6&height=3)](https://nodei.co/npm/globjoin/)
11 $ npm install globjoin
16 ### `globjoin(globs...)`
19 Like Node's [path.join()](https://nodejs.org/api/path.html#path_path_join_path1_path2) 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.
24 The paths/globs or arrays of paths/globs to join.
26 The result glob, or array of globs if any of paths/globs are array.
29 var join = require('globjoin');
30 var globs1 = join(__dirname, ['**/*.js', '!**/test*.js']);
31 var globs2 = join('test', 'fixture', 'app', ['views', '!services'], ['**/*', '!*.{js,json,coffee,ts}']);
34 Check out test for more examples.
38 [Issues](https://github.com/amobiz/globjoin/issues)
48 [Changelog](./CHANGELOG.md)
54 [Amobiz](https://github.com/amobiz)