globy

0.1.8 • Public • Published

globy

New glob library for Node.js. Search fast and exactly. Build Status Coverage Status

NPM

Installation

Requires (optional)

Install

$ npm install globy

Usage

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

/globy/

    Package Sidebar

    Install

    npm i globy

    Weekly Downloads

    122

    Version

    0.1.8

    License

    MIT

    Last publish

    Collaborators

    • norahiko