# globy

> New glob library

Latest version **0.1.8** (published 2014-10-02) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.8 |
| Published | 2014-10-02 |
| First published | 2014-07-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| GitHub stars | 8 |
| Author | norahiko |
| Maintainers | norahiko |
| Keywords | glob |

## Links

- npm: https://www.npmjs.com/package/globy
- Repository: https://github.com/norahiko/globy
- Issues: https://github.com/norahiko/globy/issues
- npm.io page: https://npm.io/package/globy

## Dependencies (1)

- [nan](https://npm.io/package/nan.md) ^1.2.0

## Recent versions

- 0.1.8 (latest) — 2014-10-02
- 0.1.7 — 2014-08-25
- 0.1.6 — 2014-08-24
- 0.1.5 — 2014-08-21
- 0.1.4 — 2014-08-17
- 0.1.3 — 2014-08-17
- 0.1.2 — 2014-08-14
- 0.1.1 — 2014-07-28
- 0.1.0 — 2014-07-16

## README

# globy

New glob library for Node.js. Search fast and exactly.
[![Build Status](https://travis-ci.org/norahiko/globy.svg?branch=master)](https://travis-ci.org/norahiko/globy) [![Coverage Status](https://coveralls.io/repos/norahiko/globy/badge.png?branch=master)](https://coveralls.io/r/norahiko/globy?branch=master)

[![NPM](https://nodei.co/npm/globy.png)](https://nodei.co/npm/globy/)


## Installation
Requires (optional)

* [node-gyp] (https://github.com/TooTallNate/node-gyp)

Install

```sh
$ npm install globy
```

## Usage

```js
var globy = require("globy");

var options = {
    "dot": true,
    "nocase": false,
    "nofollow": false,
};

var files = globy.glob("**/*.js", options);
```


## API

### `globy.glob(pattern, [options])`

Glob search files.

* **returns** {String[]}
* `pattern` {String} filepath pattern
* `options` {Object=} search options
  * `dot`      {Boolean} (default: false) if true, `*` and `**` matchs dotfiles
  * `nocase`   {Boolean} (default: false) if true, perform case-insensitive match
  * `nofollow` {Boolean} (default: false) if true, `**` does not search symbolic link directory
  * `cwd`      {String}  (default: null)  Change current working directory

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