Skip to content

πŸ’¦ Extends globby with support for directory and filter

License

Notifications You must be signed in to change notification settings

noyobo/globelet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ’§ Globelet

Codecov npm package NPM downloads

Extends globby with support for directory

Installation

npm install globelet

Usage

└── dir
  β”œβ”€β”€ one.js
  β”œβ”€β”€ two.jsx
  └── three.tmp
const globelet = require('globelet');

globelet(['./dir'], {
  globelet: ['.js', '.jsx'] // default: matches js jsx files
})
.then(paths => {
  console.log(paths);
  //=> ['./dir/one.js', './dir/two.jsx']
});

About

πŸ’¦ Extends globby with support for directory and filter

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published