Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anyfs/glob-plugin
Glob plugin for AnyFS.
https://github.com/anyfs/glob-plugin
Last synced: 7 days ago
JSON representation
Glob plugin for AnyFS.
- Host: GitHub
- URL: https://github.com/anyfs/glob-plugin
- Owner: anyfs
- License: mit
- Created: 2015-04-14T10:27:10.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-04-14T15:34:35.000Z (almost 10 years ago)
- Last Synced: 2025-01-21T17:53:51.874Z (11 days ago)
- Language: JavaScript
- Homepage:
- Size: 141 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# glob-plugin
[![npm](https://img.shields.io/npm/v/anyfs-glob-plugin.svg?style=flat-square)](https://www.npmjs.com/package/anyfs-glob-plugin)
[![npm](https://img.shields.io/npm/dm/anyfs-glob-plugin.svg?style=flat-square)](https://www.npmjs.com/package/anyfs-glob-plugin)
[![Travis](https://img.shields.io/travis/anyfs/glob-plugin.svg?style=flat-square)](https://travis-ci.org/anyfs/glob-plugin)
![npm](https://img.shields.io/npm/l/anyfs-glob-plugin.svg?style=flat-square)Glob plugin for AnyFS.
## Usage
```js
var fs = new AnyFS(adapter);
var globPlugin = new (require('anyfs-glob-plugin'))();
fs.addPlugin(globPlugin);fs.glob('src/**/*.js', function(err, files) {
console.log(files);
});
```## Acknowledgement
This plugin based on [isaacs](https://github.com/isaacs)'s [glob](https://github.com/isaacs/node-glob) package.