{"_id":"to-absolute-glob","_rev":"3518710","name":"to-absolute-glob","description":"Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.","dist-tags":{"latest":"3.0.0"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"phated","email":"blaine.bublitz@gmail.com"}],"time":{"modified":"2024-08-27T20:53:13.000Z","created":"2015-11-05T17:00:28.352Z","3.0.0":"2022-11-18T00:50:11.487Z","2.0.2":"2017-12-19T23:07:39.435Z","2.0.1":"2016-10-17T22:23:37.742Z","2.0.0":"2016-10-17T20:14:35.600Z","1.1.0":"2016-09-17T08:45:37.939Z","1.0.1":"2016-09-14T13:41:38.761Z","1.0.0":"2016-09-13T01:43:23.297Z","0.1.1":"2015-11-05T21:03:56.171Z","0.1.0":"2015-11-05T17:00:28.352Z"},"users":{},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/to-absolute-glob.git"},"versions":{"3.0.0":{"name":"to-absolute-glob","description":"Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.","version":"3.0.0","homepage":"https://github.com/jonschlinkert/to-absolute-glob","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"contributors":[{"name":"Blaine Bublitz","email":"blaine.bublitz@gmail.com","url":"https://twitter.com/BlaineBublitz"},{"name":"Brian Woodward","email":"brian.woodward@gmail.com","url":"https://github.com/doowb"},{"name":"Erik Kemperman","url":"https://github.com/erikkemperman"},{"name":"Jon Schlinkert","email":"jon.schlinkert@sellside.com","url":"http://twitter.com/jonschlinkert"}],"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/to-absolute-glob.git"},"bugs":{"url":"https://github.com/jonschlinkert/to-absolute-glob/issues"},"license":"MIT","main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"is-absolute":"^1.0.0","is-negated-glob":"^1.0.0"},"devDependencies":{"gulp-format-md":"^2.0.0","mocha":"^10.1.0"},"keywords":["absolute","file","filepath","glob","negate","negative","path","pattern","resolve","to"],"verb":{"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"lint":{"reflinks":true},"related":{"list":["has-glob","is-glob","is-valid-glob"]},"reflinks":["verb","verb-generate-readme"]},"gitHead":"f346d01cf143e95fc117604c7f2e914efd905ccf","_id":"to-absolute-glob@3.0.0","_nodeVersion":"18.3.0","_npmVersion":"8.11.0","dist":{"shasum":"d13663608718fd44bf68fa0f034abdd4fd157eca","size":3514,"noattachment":false,"key":"/to-absolute-glob/-/to-absolute-glob-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/to-absolute-glob/download/to-absolute-glob-3.0.0.tgz"},"_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"directories":{},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"phated","email":"blaine.bublitz@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/to-absolute-glob_3.0.0_1668732611354_0.4520149804690141"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-11-18T00:55:00.692Z","publish_time":1668732611487,"_cnpm_publish_time":1668732611487},"2.0.2":{"name":"to-absolute-glob","description":"Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.","version":"2.0.2","homepage":"https://github.com/jonschlinkert/to-absolute-glob","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"contributors":[{"name":"Blaine Bublitz","email":"blaine.bublitz@gmail.com","url":"https://twitter.com/BlaineBublitz"},{"name":"Brian Woodward","email":"brian.woodward@gmail.com","url":"https://github.com/doowb"},{"name":"Erik Kemperman","url":"https://github.com/erikkemperman"},{"name":"Jon Schlinkert","email":"jon.schlinkert@sellside.com","url":"http://twitter.com/jonschlinkert"}],"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/to-absolute-glob.git"},"bugs":{"url":"https://github.com/jonschlinkert/to-absolute-glob/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"is-absolute":"^1.0.0","is-negated-glob":"^1.0.0"},"devDependencies":{"gulp-format-md":"^0.1.11","mocha":"^3.0.2"},"keywords":["absolute","file","filepath","glob","negate","negative","path","pattern","resolve","to"],"verb":{"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"lint":{"reflinks":true},"related":{"list":["has-glob","is-glob","is-valid-glob"]},"reflinks":["verb","verb-generate-readme"]},"gitHead":"5c698041f85268bc6e6934917040d0717233741f","_id":"to-absolute-glob@2.0.2","_shasum":"1865f43d9e74b0822db9f145b78cff7d0f7c849b","_from":".","_npmVersion":"2.15.1","_nodeVersion":"0.10.48","_npmUser":{"name":"phated","email":"blaine.bublitz@gmail.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"phated","email":"blaine.bublitz@gmail.com"}],"dist":{"shasum":"1865f43d9e74b0822db9f145b78cff7d0f7c849b","size":3448,"noattachment":false,"key":"/to-absolute-glob/-/to-absolute-glob-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/to-absolute-glob/download/to-absolute-glob-2.0.2.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/to-absolute-glob-2.0.2.tgz_1513724859273_0.3958331998437643"},"directories":{},"publish_time":1513724859435,"_hasShrinkwrap":false,"_cnpm_publish_time":1513724859435},"2.0.1":{"name":"to-absolute-glob","description":"Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.","version":"2.0.1","homepage":"https://github.com/jonschlinkert/to-absolute-glob","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"contributors":[{"name":"Blaine Bublitz","email":"blaine.bublitz@gmail.com","url":"https://twitter.com/BlaineBublitz"},{"name":"Brian Woodward","email":"brian.woodward@gmail.com","url":"https://github.com/doowb"},{"name":"Erik Kemperman","url":"https://github.com/erikkemperman"},{"name":"Jon Schlinkert","email":"jon.schlinkert@sellside.com","url":"http://twitter.com/jonschlinkert"}],"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/to-absolute-glob.git"},"bugs":{"url":"https://github.com/jonschlinkert/to-absolute-glob/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"extend-shallow":"^2.0.1","is-absolute":"^0.2.5","is-negated-glob":"^1.0.0"},"devDependencies":{"gulp-format-md":"^0.1.11","mocha":"^3.0.2"},"keywords":["absolute","file","filepath","glob","negate","negative","path","pattern","resolve","to"],"verb":{"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"lint":{"reflinks":true},"related":{"list":["has-glob","is-glob","is-valid-glob"]},"reflinks":["verb","verb-generate-readme"]},"gitHead":"081c2153da90e2c77abff7a85d891611053cc335","_id":"to-absolute-glob@2.0.1","_shasum":"70c375805b9e3105e899ee8dbdd6a9aa108f407b","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"phated","email":"blaine.bublitz@gmail.com"}],"dist":{"shasum":"70c375805b9e3105e899ee8dbdd6a9aa108f407b","size":3461,"noattachment":false,"key":"/to-absolute-glob/-/to-absolute-glob-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/to-absolute-glob/download/to-absolute-glob-2.0.1.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/to-absolute-glob-2.0.1.tgz_1476743015838_0.15478942170739174"},"directories":{},"publish_time":1476743017742,"_cnpm_publish_time":1476743017742,"_hasShrinkwrap":false},"2.0.0":{"name":"to-absolute-glob","description":"Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.","version":"2.0.0","homepage":"https://github.com/jonschlinkert/to-absolute-glob","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/to-absolute-glob.git"},"bugs":{"url":"https://github.com/jonschlinkert/to-absolute-glob/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"extend-shallow":"^2.0.1","is-absolute":"^0.2.5","is-negated-glob":"^1.0.0"},"devDependencies":{"gulp-format-md":"^0.1.10","mocha":"^3.0.2"},"keywords":["absolute","glob","pattern","resolve","to"],"verb":{"related":{"list":["has-glob","is-glob","is-valid-glob"]},"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"lint":{"reflinks":true},"reflinks":["verb","verb-generate-readme"]},"gitHead":"79d424c03ee5793447b261726414a9dddb7c58af","_id":"to-absolute-glob@2.0.0","_shasum":"6eaaf9892b02dd75369856439a2f86692004cb11","_from":".","_npmVersion":"3.7.5","_nodeVersion":"5.1.1","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"6eaaf9892b02dd75369856439a2f86692004cb11","size":3190,"noattachment":false,"key":"/to-absolute-glob/-/to-absolute-glob-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/to-absolute-glob/download/to-absolute-glob-2.0.0.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"phated","email":"blaine.bublitz@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/to-absolute-glob-2.0.0.tgz_1476735273617_0.03757163975387812"},"directories":{},"publish_time":1476735275600,"_cnpm_publish_time":1476735275600,"_hasShrinkwrap":false},"1.1.0":{"name":"to-absolute-glob","description":"Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.","version":"1.1.0","homepage":"https://github.com/jonschlinkert/to-absolute-glob","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/to-absolute-glob.git"},"bugs":{"url":"https://github.com/jonschlinkert/to-absolute-glob/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"extend-shallow":"^2.0.1","is-negated-glob":"^1.0.0"},"devDependencies":{"gulp-format-md":"^0.1.10","mocha":"^3.0.2"},"keywords":["absolute","glob","pattern","resolve","to"],"verb":{"related":{"list":["has-glob","is-glob","is-valid-glob"]},"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"lint":{"reflinks":true},"reflinks":["verb","verb-generate-readme"]},"gitHead":"7ff2fce346bd0a7b00c2e36506c74f31a45b2aaa","_id":"to-absolute-glob@1.1.0","_shasum":"c6f6f735e41395300841539b0618e02df0d30306","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"phated","email":"blaine.bublitz@gmail.com"}],"dist":{"shasum":"c6f6f735e41395300841539b0618e02df0d30306","size":2810,"noattachment":false,"key":"/to-absolute-glob/-/to-absolute-glob-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/to-absolute-glob/download/to-absolute-glob-1.1.0.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/to-absolute-glob-1.1.0.tgz_1474101936268_0.2230498839635402"},"directories":{},"publish_time":1474101937939,"_cnpm_publish_time":1474101937939,"_hasShrinkwrap":false},"1.0.1":{"name":"to-absolute-glob","description":"Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.","version":"1.0.1","homepage":"https://github.com/jonschlinkert/to-absolute-glob","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/to-absolute-glob.git"},"bugs":{"url":"https://github.com/jonschlinkert/to-absolute-glob/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"extend-shallow":"^2.0.1"},"devDependencies":{"gulp-format-md":"^0.1.10","mocha":"^3.0.2"},"keywords":["absolute","glob","pattern","resolve","to"],"verb":{"related":{"list":["has-glob","is-glob","is-valid-glob"]},"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"lint":{"reflinks":true},"reflinks":["verb","verb-generate-readme"]},"gitHead":"0ae451156d72257b968d364b043e8718528296b4","_id":"to-absolute-glob@1.0.1","_shasum":"62685b7c7ff601fed3570f80cddbfe60503bc4de","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"phated","email":"blaine.bublitz@gmail.com"}],"dist":{"shasum":"62685b7c7ff601fed3570f80cddbfe60503bc4de","size":2795,"noattachment":false,"key":"/to-absolute-glob/-/to-absolute-glob-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/to-absolute-glob/download/to-absolute-glob-1.0.1.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/to-absolute-glob-1.0.1.tgz_1473860497894_0.8730693601537496"},"directories":{},"publish_time":1473860498761,"_cnpm_publish_time":1473860498761,"_hasShrinkwrap":false},"1.0.0":{"name":"to-absolute-glob","description":"Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.","version":"1.0.0","homepage":"https://github.com/jonschlinkert/to-absolute-glob","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/to-absolute-glob.git"},"bugs":{"url":"https://github.com/jonschlinkert/to-absolute-glob/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"extend-shallow":"^2.0.1"},"devDependencies":{"mocha":"^3.0.2"},"keywords":["absolute","glob","pattern","resolve","to"],"verb":{"related":{"list":["has-glob","is-glob","is-valid-glob"]}},"gitHead":"7345b75e317daa26a333da4f96d387912c6fcf9d","_id":"to-absolute-glob@1.0.0","_shasum":"45a67b6bed9e72c48a95af8bc7fe06581a7fb308","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"phated","email":"blaine.bublitz@gmail.com"}],"dist":{"shasum":"45a67b6bed9e72c48a95af8bc7fe06581a7fb308","size":2354,"noattachment":false,"key":"/to-absolute-glob/-/to-absolute-glob-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/to-absolute-glob/download/to-absolute-glob-1.0.0.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/to-absolute-glob-1.0.0.tgz_1473731001330_0.6241108372341841"},"directories":{},"publish_time":1473731003297,"_cnpm_publish_time":1473731003297,"_hasShrinkwrap":false},"0.1.1":{"name":"to-absolute-glob","description":"Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.","version":"0.1.1","homepage":"https://github.com/jonschlinkert/to-absolute-glob","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/to-absolute-glob.git"},"bugs":{"url":"https://github.com/jonschlinkert/to-absolute-glob/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"extend-shallow":"^2.0.1"},"devDependencies":{"mocha":"*"},"keywords":["resolve","pattern","absolute","glob"],"verb":{"related":{"list":["is-glob","is-valid-glob","has-glob"]}},"gitHead":"42428d988edb8c0cd7d97fbc0622b9720dc57437","_id":"to-absolute-glob@0.1.1","_shasum":"1cdfa472a9ef50c239ee66999b662ca0eb39937f","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"phated","email":"blaine.bublitz@gmail.com"}],"dist":{"shasum":"1cdfa472a9ef50c239ee66999b662ca0eb39937f","size":2341,"noattachment":false,"key":"/to-absolute-glob/-/to-absolute-glob-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/to-absolute-glob/download/to-absolute-glob-0.1.1.tgz"},"directories":{},"publish_time":1446757436171,"_cnpm_publish_time":1446757436171,"_hasShrinkwrap":false},"0.1.0":{"name":"to-absolute-glob","description":"Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/to-absolute-glob","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/to-absolute-glob.git"},"bugs":{"url":"https://github.com/jonschlinkert/to-absolute-glob/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"extend-shallow":"^2.0.1"},"devDependencies":{"mocha":"*"},"keywords":["resolve","pattern","absolute","glob"],"verb":{"related":{"list":["is-glob","is-valid-glob","has-glob"]}},"gitHead":"42428d988edb8c0cd7d97fbc0622b9720dc57437","_id":"to-absolute-glob@0.1.0","_shasum":"e24acadac35f02b4d5905fae8acc8e333a15f67b","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"phated","email":"blaine.bublitz@gmail.com"}],"dist":{"shasum":"e24acadac35f02b4d5905fae8acc8e333a15f67b","size":2304,"noattachment":false,"key":"/to-absolute-glob/-/to-absolute-glob-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/to-absolute-glob/download/to-absolute-glob-0.1.0.tgz"},"directories":{},"publish_time":1446742828352,"_cnpm_publish_time":1446742828352,"_hasShrinkwrap":false}},"readme":"# to-absolute-glob [![NPM version](https://img.shields.io/npm/v/to-absolute-glob.svg?style=flat)](https://www.npmjs.com/package/to-absolute-glob) [![NPM downloads](https://img.shields.io/npm/dm/to-absolute-glob.svg?style=flat)](https://npmjs.org/package/to-absolute-glob) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/to-absolute-glob.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/to-absolute-glob) [![Windows Build Status](https://img.shields.io/appveyor/ci/jonschlinkert/to-absolute-glob.svg?style=flat&label=AppVeyor)](https://ci.appveyor.com/project/jonschlinkert/to-absolute-glob)\n\n> Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\nnpm install to-absolute-glob\n```\n\n\nOr install with [yarn](https://yarnpkg.com/):\n\n```sh\nyarn add to-absolute-glob\n```\n\n## Usage\n\n```js\nconst toAbsGlob = require('to-absolute-glob');\ntoAbsGlob('a/*.js');\n//=> '/dev/foo/a/*.js'\n```\n\n## Examples\n\nGiven the current project folder (cwd) is `/dev/foo/`:\n\n**makes a path absolute**\n\n```js\ntoAbsGlob('a');\n//=> '/dev/foo/a'\n```\n\n**makes a glob absolute**\n\n```js\ntoAbsGlob('a/*.js');\n//=> '/dev/foo/a/*.js'\n```\n\n**retains trailing slashes**\n\n```js\ntoAbsGlob('a/*/');\n//=> '/dev/foo/a/*/'\n```\n\n**retains trailing slashes with cwd**\n\n```js\ntoAbsGlob('./fixtures/whatsgoingon/*/', {cwd: __dirname});\n//=> '/dev/foo/'\n```\n\n**makes a negative glob absolute**\n\n```js\ntoAbsGlob('!a/*.js');\n//=> '!/dev/foo/a/*.js'\n```\n\n**from a cwd**\n\n```js\ntoAbsGlob('a/*.js', {cwd: 'foo'});\n//=> '/dev/foo/foo/a/*.js'\n```\n\n**makes a negative glob absolute from a cwd**\n\n```js\ntoAbsGlob('!a/*.js', {cwd: 'foo'});\n//=> '!/dev/foo/foo/a/*.js'\n```\n\n**from a root path**\n\n```js\ntoAbsGlob('/a/*.js', {root: 'baz'});\n//=> '/dev/foo/baz/a/*.js'\n```\n\n**from a root slash**\n\n```js\ntoAbsGlob('/a/*.js', {root: '/'});\n//=> '/dev/foo/a/*.js'\n```\n\n**from a negative root path**\n\n```js\ntoAbsGlob('!/a/*.js', {root: 'baz'});\n//=> '!/dev/foo/baz/a/*.js'\n```\n\n**from a negative root slash**\n\n```js\ntoAbsGlob('!/a/*.js', {root: '/'});\n//=> '!/dev/foo/a/*.js'\n```\n\n## About\n\n### Related projects\n\n* [has-glob](https://www.npmjs.com/package/has-glob): Returns `true` if an array has a glob pattern. | [homepage](https://github.com/jonschlinkert/has-glob \"Returns `true` if an array has a glob pattern.\")\n* [is-glob](https://www.npmjs.com/package/is-glob): Returns `true` if the given string looks like a glob pattern or an extglob pattern… [more](https://github.com/jonschlinkert/is-glob) | [homepage](https://github.com/jonschlinkert/is-glob \"Returns `true` if the given string looks like a glob pattern or an extglob pattern. This makes it easy to create code that only uses external modules like node-glob when necessary, resulting in much faster code execution and initialization time, and a bet\")\n* [is-valid-glob](https://www.npmjs.com/package/is-valid-glob): Return true if a value is a valid glob pattern or patterns. | [homepage](https://github.com/jonschlinkert/is-valid-glob \"Return true if a value is a valid glob pattern or patterns.\")\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n### Contributors\n\n| **Commits** | **Contributor**<br/> |\n| --- | --- |\n| 16 | [doowb](https://github.com/doowb) |\n| 15 | [jonschlinkert](https://github.com/jonschlinkert) |\n| 1 | [phated](https://github.com/phated) |\n| 1 | [erikkemperman](https://github.com/erikkemperman) |\n\n### Building docs\n\n_(This document was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme) (a [verb](https://github.com/verbose/verb) generator), please don't edit the readme directly. Any changes to the readme must be made in [.verb.md](.verb.md).)_\n\nTo generate the readme and API documentation with [verb](https://github.com/verbose/verb):\n\n```sh\n$ npm install -g verb verb-generate-readme && verb\n```\n\n### Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm install -d && npm test\n```\n\n### Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](http://twitter.com/jonschlinkert)\n\n### License\n\nCopyright (c) [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT license](https://github.com/jonschlinkert/to-absolute-glob/blob/master/LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v3.0.0, on November 17, 2022._","_attachments":{},"homepage":"https://github.com/jonschlinkert/to-absolute-glob","bugs":{"url":"https://github.com/jonschlinkert/to-absolute-glob/issues"},"license":"MIT"}