# globs

> An extension of glob, allowing you to provide one or more patterns to match.

Latest version **0.1.4** (published 2018-04-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install globs
pnpm add globs
yarn add globs
bun add globs
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.4 |
| Published | 2018-04-30 |
| First published | 2013-03-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 6.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Stephen Mathieson |
| Maintainers | iandotkelly, stephenmathieson, thomas-darling |

## Links

- npm: https://www.npmjs.com/package/globs
- Repository: https://github.com/stephenmathieson/node-globs
- Homepage: https://github.com/stephenmathieson/node-globs#readme
- Issues: https://github.com/stephenmathieson/node-globs/issues
- npm.io page: https://npm.io/package/globs

## Dependencies (1)

- [glob](https://npm.io/package/glob.md) ^7.1.1

## Recent versions

- 0.1.4 (latest) — 2018-04-30
- 0.1.3 — 2017-02-03
- 0.1.2 — 2014-06-02
- 0.1.1 — 2013-07-20
- 0.1.0 — 2013-05-23
- 0.0.1 — 2013-03-01

## README

# globs

An extension of [glob], allowing you to provide one or more patterns to match.

## usage

```js
var globs = require('globs');

// a single pattern
globs('**/*.js', function (err, files) {
	if (err) {
		throw err;
	}

	console.log('matched:', files);
});

// multiple patterns
globs([ '**/*.js', '/foo/bar/*.coffee' ], function (err, files) {
	if (err) {
		throw err;
	}

	console.log('matched:', files);
});

// sync
var files = globs.sync([ '**/*.js', '/foo/bar/*.coffee' ], { option: 'stuff' });

```

## License

(The MIT License)

Copyright (c) 2013 Stephen Mathieson &lt;me@stephenmathieson.com&gt;

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


[glob]: https://github.com/isaacs/node-glob

---
_Source: https://npm.io/package/globs · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
