0.0.4 • Published 3 years ago

xfind v0.0.4

Weekly downloads
8
License
MIT
Repository
github
Last release
3 years ago

xfind

Simple and fast glob alternative in Node.js

xfind Build Status

Installation

$ npm install xfind

Example

const glob = require('xfind');

;(async () => {
  // touch /tmp/{a,b,c}.js /tmp/{d,e,f}.txt /tmp/g.json
  const files = await glob('/tmp/(!node_modules/)*.js(on)?');
  console.log(files);
  /* outputs: [
  '/tmp/a.js',
  '/tmp/b.js',
  '/tmp/c.js',
  '/tmp/g.json' ] */
})();

Contributing

  • Fork this Repo first
  • Clone your Repo
  • Install dependencies by $ npm install
  • Checkout a feature branch
  • Feel free to add your features
  • Make sure your features are fully tested
  • Publish your local branch, Open a pull request
  • Enjoy hacking <3

MIT

This work is licensed under the MIT license.


0.0.3

3 years ago

0.0.4

3 years ago

0.0.2

3 years ago

0.0.1

4 years ago

0.0.0

5 years ago