You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+32-40
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,9 @@
1
-
# bash-glob [](https://www.npmjs.com/package/bash-glob)[](https://npmjs.org/package/bash-glob)[](https://npmjs.org/package/bash-glob)[](https://travis-ci.org/micromatch/bash-glob)
1
+
# bash-glob [](https://www.npmjs.com/package/bash-glob)[](https://npmjs.org/package/bash-glob)[](https://npmjs.org/package/bash-glob)[](https://travis-ci.org/micromatch/bash-glob)
2
2
3
3
> Bash-powered globbing for node.js
4
4
5
+
Please consider following this project's author, [Jon Schlinkert](https://github.com/jonschlinkert), and consider starring the project to show your :heart: and support.
6
+
5
7
## Install
6
8
7
9
Install with [npm](https://www.npmjs.com/):
@@ -10,12 +12,6 @@ Install with [npm](https://www.npmjs.com/):
10
12
$ npm install --save bash-glob
11
13
```
12
14
13
-
Install with [yarn](https://yarnpkg.com):
14
-
15
-
```sh
16
-
$ yarn add bash-glob
17
-
```
18
-
19
15
**Install bash 4.3 or later**
20
16
21
17
I recommend using [homebrew](https://github.com/Homebrew/homebrew-core) to install/upgrade bash:
@@ -45,10 +41,7 @@ glob(pattern[, options]);
45
41
46
42
## API
47
43
48
-
<details>
49
-
<summary><strong>glob</strong></summary>
50
-
51
-
### [glob](index.js#L32)
44
+
### [glob](index.js#L30)
52
45
53
46
Asynchronously returns an array of files that match the given pattern or patterns.
The following options may be used with the main `glob` function or any other method:
@@ -131,20 +112,28 @@ The following options may be used with the main `glob` function or any other met
131
112
132
113
## About
133
114
134
-
### Related projects
135
-
136
-
*[bash-match](https://www.npmjs.com/package/bash-match): Match strings using bash. Does not work on windows, and does not read from the… [more](https://github.com/jonschlinkert/bash-match) | [homepage](https://github.com/jonschlinkert/bash-match"Match strings using bash. Does not work on windows, and does not read from the file system. This library requires that Bash 4.3 or higher is installed and is mostly used for checking parity in unit tests.")
137
-
*[braces](https://www.npmjs.com/package/braces): Fast, comprehensive, bash-like brace expansion implemented in JavaScript. Complete support for the Bash 4.3 braces… [more](https://github.com/micromatch/braces) | [homepage](https://github.com/micromatch/braces"Fast, comprehensive, bash-like brace expansion implemented in JavaScript. Complete support for the Bash 4.3 braces specification, without sacrificing speed.")
138
-
*[micromatch](https://www.npmjs.com/package/micromatch): Glob matching for javascript/node.js. A drop-in replacement and faster alternative to minimatch and multimatch. | [homepage](https://github.com/jonschlinkert/micromatch"Glob matching for javascript/node.js. A drop-in replacement and faster alternative to minimatch and multimatch.")
139
-
*[nanomatch](https://www.npmjs.com/package/nanomatch): Fast, minimal glob matcher for node.js. Similar to micromatch, minimatch and multimatch, but complete Bash… [more](https://github.com/jonschlinkert/nanomatch) | [homepage](https://github.com/jonschlinkert/nanomatch"Fast, minimal glob matcher for node.js. Similar to micromatch, minimatch and multimatch, but complete Bash 4.3 wildcard support only (no support for exglobs, posix brackets or braces)")
140
-
141
-
### Contributing
115
+
<details>
116
+
<summary><strong>Contributing</strong></summary>
142
117
143
118
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
144
119
145
120
Please read the [contributing guide](.github/contributing.md) for advice on opening issues, pull requests, and coding standards.
146
121
147
-
### Building docs
122
+
</details>
123
+
124
+
<details>
125
+
<summary><strong>Running Tests</strong></summary>
126
+
127
+
Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:
128
+
129
+
```sh
130
+
$ npm install && npm test
131
+
```
132
+
133
+
</details>
134
+
135
+
<details>
136
+
<summary><strong>Building docs</strong></summary>
148
137
149
138
_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_
150
139
@@ -154,13 +143,16 @@ To generate the readme, run the following command:
Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:
148
+
### Related projects
160
149
161
-
```sh
162
-
$ npm install && npm test
163
-
```
150
+
You might also be interested in these projects:
151
+
152
+
*[bash-match](https://www.npmjs.com/package/bash-match): Match strings using bash. Does not work on windows, and does not read from the… [more](https://github.com/micromatch/bash-match) | [homepage](https://github.com/micromatch/bash-match"Match strings using bash. Does not work on windows, and does not read from the file system. This library requires that Bash 4.3 or higher is installed and is mostly used for checking parity in unit tests.")
153
+
*[braces](https://www.npmjs.com/package/braces): Bash-like brace expansion, implemented in JavaScript. Safer than other brace expansion libs, with complete support… [more](https://github.com/micromatch/braces) | [homepage](https://github.com/micromatch/braces"Bash-like brace expansion, implemented in JavaScript. Safer than other brace expansion libs, with complete support for the Bash 4.3 braces specification, without sacrificing speed.")
154
+
*[micromatch](https://www.npmjs.com/package/micromatch): Glob matching for javascript/node.js. A drop-in replacement and faster alternative to minimatch and multimatch. | [homepage](https://github.com/micromatch/micromatch"Glob matching for javascript/node.js. A drop-in replacement and faster alternative to minimatch and multimatch.")
155
+
*[nanomatch](https://www.npmjs.com/package/nanomatch): Fast, minimal glob matcher for node.js. Similar to micromatch, minimatch and multimatch, but complete Bash… [more](https://github.com/micromatch/nanomatch) | [homepage](https://github.com/micromatch/nanomatch"Fast, minimal glob matcher for node.js. Similar to micromatch, minimatch and multimatch, but complete Bash 4.3 wildcard support only (no support for exglobs, posix brackets or braces)")
164
156
165
157
### Author
166
158
@@ -176,4 +168,4 @@ Released under the [MIT License](LICENSE).
176
168
177
169
***
178
170
179
-
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on April 27, 2017._
171
+
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on October 22, 2017._
0 commit comments