fuzzmatch 1.0.12 → 1.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/index.js +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -23,6 +23,10 @@ Again, if you want anymatch, just do this:
|
|
|
23
23
|
```js
|
|
24
24
|
var anymatch = fuzzmatch('anymatch')
|
|
25
25
|
```
|
|
26
|
+
It also provides is-match, but because that package is vulnerable, it actually provides a stub function that returns a function that returns true:
|
|
27
|
+
```js
|
|
28
|
+
console.log(fuzzmatch('is-match')()()) // true
|
|
29
|
+
```
|
|
26
30
|
Here is an example:
|
|
27
31
|
```js
|
|
28
32
|
var assert = require('assert')
|
package/index.js
CHANGED