{"_id":"globjoin","_rev":"10-8fbaf056e78d64086200c89a70e2990b","name":"globjoin","time":{"modified":"2022-06-18T12:58:17.337Z","created":"2015-12-10T12:32:59.776Z","0.1.0":"2015-12-10T12:32:59.776Z","0.1.1":"2015-12-10T12:45:21.632Z","0.1.2":"2015-12-23T18:58:28.661Z","0.1.3":"2016-02-15T06:27:31.946Z","0.1.4":"2016-02-16T02:53:24.486Z"},"maintainers":[{"name":"amobiz","email":"amobiz.tw+npmjs@gmail.com"}],"dist-tags":{"latest":"0.1.4"},"description":"Join paths and globs.","readme":"# globjoin\n\nJoin paths and globs.\n\n[![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)\n\n[![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/)\n\n## Install\n``` bash\n$ npm install globjoin\n```\n\n## API\n\n### `globjoin(globs...)`\nJoin paths and globs.\n\nLike 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.\n#### Context\nDon't care.\n#### Parameters\n##### `paths/globs`\nThe paths/globs or arrays of paths/globs to join.\n#### Returns\nThe result glob, or array of globs if any of paths/globs are array.\n#### Example\n``` javascript\nvar join = require('globjoin');\nvar globs1 = join(__dirname, ['**/*.js', '!**/test*.js']);\nvar globs2 = join('test', 'fixture', 'app', ['views', '!services'], ['**/*', '!*.{js,json,coffee,ts}']);\n```\n\nCheck out test for more examples.\n\n## Issues\n\n[Issues](https://github.com/amobiz/globjoin/issues)\n\n## Test\n\n``` bash\n$ npm test\n```\n\n## Changelog\n\n[Changelog](./CHANGELOG.md)\n\n## License\nMIT\n\n## Author\n[Amobiz](https://github.com/amobiz)\n","versions":{"0.1.1":{"name":"globjoin","version":"0.1.1","description":"Join paths and globs.","main":"index.js","scripts":{"test":"mocha"},"keywords":["glob","negative glob","path","path join"],"author":{"name":"Amobiz"},"license":"MIT","devDependencies":{"chai":"^3.4.1","mocha":"^2.3.4","mocha-cases":"^0.1.4"},"dependencies":{},"gitHead":"efce5711981b15f65e2d68d3a7586b91540f8396","_id":"globjoin@0.1.1","_shasum":"013849992f7d3e3f76b0edbedb5fd32caf83108d","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"amobiz","email":"amobiz.tw+npmjs@gmail.com"},"dist":{"shasum":"013849992f7d3e3f76b0edbedb5fd32caf83108d","tarball":"https://registry.npmjs.org/globjoin/-/globjoin-0.1.1.tgz","integrity":"sha512-onMmGy6Rbado1izstvMQlilUfPlZJULc8R7GUnGu7WLnlSDDlgKYxxs7z+QFLqc5nXf5tEUzwBUiq/L7Gx26/A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGRAhLSNr4ru2seJLVJ6deFu+9Cduhm3EHb6tgtN5oiKAiAMorALvCfzUt00DiJ3wQDhkGmoSh3XziOHcKE180jLVw=="}]},"maintainers":[{"name":"amobiz","email":"amobiz.tw+npmjs@gmail.com"}]},"0.1.2":{"name":"globjoin","version":"0.1.2","description":"Join paths and globs.","main":"index.js","scripts":{"test":"mocha"},"keywords":["array","glob","globs","glob join","globs join","globbing","multiple","multi","negative glob","path","path join","paths","paths join","pattern","patterns","wildcard","wildcards"],"author":{"name":"Amobiz"},"license":"MIT","devDependencies":{"chai":"^3.4.1","mocha":"^2.3.4","mocha-cases":"^0.1.4"},"dependencies":{},"gitHead":"cbb33cc160979b715ff664f7023b141e60d2a884","_id":"globjoin@0.1.2","_shasum":"dc692e5f2fd7139fb82ef009f15c6457fab74398","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.2.0","_npmUser":{"name":"amobiz","email":"amobiz.tw+npmjs@gmail.com"},"dist":{"shasum":"dc692e5f2fd7139fb82ef009f15c6457fab74398","tarball":"https://registry.npmjs.org/globjoin/-/globjoin-0.1.2.tgz","integrity":"sha512-o8I4Uy/W6fwSD8yFRA4sdlO3QF8oZgdwWxuouflHzhjrjU/PP64aQa8SimJa30/2/HUgkDAENAQecUZJ9vRY4Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDmZ9PsM1TFf0Yp/1IYHrqkGuuJMVTaOVh1Qktaa8QaFAIgN2Zm9hIi8dQi6d2p0HvtjAzc3mgB8ZmsGmxxGgHSLZ8="}]},"maintainers":[{"name":"amobiz","email":"amobiz.tw+npmjs@gmail.com"}]},"0.1.3":{"name":"globjoin","version":"0.1.3","description":"Join paths and globs.","main":"index.js","repository":{"type":"git","url":"git+https://github.com/amobiz/globjoin.git"},"scripts":{"test":"mocha"},"keywords":["array","glob","globs","glob join","globs join","globbing","multiple","multi","negative glob","path","path join","paths","paths join","pattern","patterns","wildcard","wildcards"],"author":{"name":"Amobiz"},"license":"MIT","bugs":{"url":"https://github.com/amobiz/globjoin/issues"},"homepage":"https://github.com/amobiz/globjoin","devDependencies":{"chai":"^3.4.1","mocha":"^2.3.4","mocha-cases":"^0.1.4"},"dependencies":{"mocha-cases":"^0.1.8"},"gitHead":"56c42896aa8d77bfc78f535c79c728c27d15b413","_id":"globjoin@0.1.3","_shasum":"78b2194e2b798a1450ceddd5a5a69f9a01bfd5d6","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.6.0","_npmUser":{"name":"amobiz","email":"amobiz.tw+npmjs@gmail.com"},"dist":{"shasum":"78b2194e2b798a1450ceddd5a5a69f9a01bfd5d6","tarball":"https://registry.npmjs.org/globjoin/-/globjoin-0.1.3.tgz","integrity":"sha512-mM6mP5XsZYGsGJ/6YVFBIPktMeGnU/8+/0rt/u7xA2RnikYulyxCehfnp1c1mY+pZk//gRxXOUcjdylpuGZWAQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDhWWdzMx+9ugD8B2UxnLxwPTmof5yov7QIN6pH4SP5oAiBiCjohXpWRFk9CTcFhB/mOuAOPxxkG6gwvrEd+sj4SBA=="}]},"maintainers":[{"name":"amobiz","email":"amobiz.tw+npmjs@gmail.com"}],"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/globjoin-0.1.3.tgz_1455517650123_0.3706811254378408"}},"0.1.4":{"name":"globjoin","version":"0.1.4","description":"Join paths and globs.","main":"index.js","repository":{"type":"git","url":"git+https://github.com/amobiz/globjoin.git"},"scripts":{"test":"mocha"},"keywords":["array","glob","glob join","globbing","multiple","negative glob","path","path join","patterns","wildcard"],"author":{"name":"Amobiz"},"license":"MIT","bugs":{"url":"https://github.com/amobiz/globjoin/issues"},"homepage":"https://github.com/amobiz/globjoin","devDependencies":{"mocha":"^2.3.4","mocha-cases":"^0.1.4"},"dependencies":{},"gitHead":"fe1a822ed6355a43fa723537b7f3e6b1764fe12c","_id":"globjoin@0.1.4","_shasum":"2f4494ac8919e3767c5cbb691e9f463324285d43","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.6.0","_npmUser":{"name":"amobiz","email":"amobiz.tw+npmjs@gmail.com"},"dist":{"shasum":"2f4494ac8919e3767c5cbb691e9f463324285d43","tarball":"https://registry.npmjs.org/globjoin/-/globjoin-0.1.4.tgz","integrity":"sha512-xYfnw62CKG8nLkZBfWbhWwDw02CHty86jfPcc2cr3ZfeuK9ysoVPPEUxf21bAD/rWAgk52SuBrLJlefNy8mvFg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHqDDrvdg9SKMrq0kmrZSxMLq2iFDzARQmUhPq7ljzJHAiAa6A5tG1odSKrYq6mXG9oW5cjeWkNfvRcjfU1l0szxtA=="}]},"maintainers":[{"name":"amobiz","email":"amobiz.tw+npmjs@gmail.com"}],"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/globjoin-0.1.4.tgz_1455591202598_0.010538409929722548"}}},"keywords":["array","glob","glob join","globbing","multiple","negative glob","path","path join","patterns","wildcard"],"author":{"name":"Amobiz"},"license":"MIT","readmeFilename":"README.md","users":{},"homepage":"https://github.com/amobiz/globjoin","repository":{"type":"git","url":"git+https://github.com/amobiz/globjoin.git"},"bugs":{"url":"https://github.com/amobiz/globjoin/issues"}}