matched - Glob matching with support for multiple patterns and negation

  •        9

Adds array support to node-glob, sync and async. Also supports tilde expansion (user home) and resolving to global npm modules. Please consider following this project's author, Jon Schlinkert, and consider starring the project to show your ❤️ and support.

https://github.com/jonschlinkert/matched

Dependencies:

arr-union : ^3.1.0
glob : ^7.1.2
has-glob : ^1.0.0
is-valid-glob : ^1.0.0
resolve-dir : ^1.0.1

Tags
Implementation
License
Platform

   




Related Projects

tiny-glob - 🚀 Super tiny and ~350% faster alternative to node-glob

  •    Javascript

Tiny and extremely fast library to match files and folders using glob patterns. "Globs" is the common name for a specific type of pattern used to match files and folders. It's the patterns you type when you do stuff like ls *.js in your shell or put src/* in a .gitignore file. When used to match filenames, it's sometimes called a "wildcard".

matcher - Simple wildcard matching

  •    Javascript

Useful when you want to accept loose string input and regexes/globs are too convoluted.Accepts an array of input's and pattern's.

node-glob - glob functionality for node.js

  •    Javascript

Match files using the patterns the shell uses, like stars and stuff.This is a glob implementation in JavaScript. It uses the minimatch library to do its matching.


fssm - The File System State Monitor keeps track of the state of any number of paths and will fire events when said state changes (create/update/delete)

  •    HTML

There are three ways you can run the monitor. This form watches one path, and enters the run loop automatically. The first parameter is the path to watch, and the second parameter is an optional glob pattern or array of glob patterns that a file must match in order to trigger a callback. The default glob, if ommitted, is '**/*'.

glob - Go glob

  •    Go

Go Globbing Library. This library is created for compile-once patterns. This means, that compilation could take time, but strings matching is done faster, than in case when always parsing template.

gulp-filter - Filter files in a vinyl stream

  •    Javascript

Enables you to work on a subset of the original files by filtering them using glob patterns. When you're done and want all the original files back you just use the restore stream.By combining and restoring different filters you can process different sets of files with a single pipeline.

del - Delete files and directories

  •    Javascript

Similar to rimraf, but with a Promise API and support for multiple files and globbing. It also protects you against deleting the current working directory and above.Support this project and improve your JavaScript skills with this great ES6 course by Wes Bos. Try his free JavaScript 30 course for a taste of what to expect. You might also like his React and Sublime course.

mention-bot - Automatically mention potential reviewers on pull requests.

  •    Javascript

Do you have a GitHub project that is too big for people to subscribe to all the notifications? The mention bot will automatically mention potential reviewers on pull requests. It helps getting faster turnaround on pull requests by involving the right people early on.The glob matching is an extended form of glob syntax performed by minimatch, with the default options; read the minimatch README for more details.

mention-bot - Automatically mention potential reviewers on pull requests.

  •    Javascript

Do you have a GitHub project that is too big for people to subscribe to all the notifications? The mention bot will automatically mention potential reviewers on pull requests. It helps getting faster turnaround on pull requests by involving the right people early on. The glob matching is an extended form of glob syntax performed by minimatch, with the default options; read the minimatch README for more details.

load-grunt-tasks - Load multiple grunt tasks using globbing patterns

  •    Javascript

🔥 Want to strengthen your core JavaScript skills and master ES6? I would personally recommend this awesome ES6 course by Wes Bos.Usually you would have to load each task one by one, which is unnecessarily cumbersome.

minimatch - a glob matcher in javascript

  •    Javascript

A minimal matching utility.This is the matching library used internally by npm.

onchange - Use glob patterns to watch file sets and run a command when anything is added, changed or deleted

  •    Javascript

Use glob patterns to watch file sets and run a command when anything is added, changed or deleted. NOTE: Windows users may need to use double quotes rather than single quotes. If used in an npm script, remember to escape the double quotes.

imagemin-webpack-plugin - Plugin to compress images with imagemin

  •    Javascript

This is a simple plugin that uses Imagemin to compress all images in your project. This plugin will only run on files that match this test. This is similar to the webpack loader test option (but is not using the same implementation, so there might be major differences!). This can either be a RegExp object, a minimatch glob, a function which gets the filename and returns true if the file should be minified, or an array of any of them.

node-glob - glob functionality for node.js

  •    Javascript

glob functionality for node.js

match-when - :shell: Pattern matching for modern JavaScript

  •    Javascript

Note that when() is a catch-all pattern and, if used, should always be the last condition. If you forget it match() will throw a MissingCatchAllPattern exception if nothing was matched.

purifycss - Remove unused CSS. Also works with single-page apps.

  •    Javascript

A function that takes content (HTML/JS/PHP/etc) and CSS, and returns only the used CSS. PurifyCSS does not modify the original CSS files. You can write to a new file, like minification. If your application is using a CSS framework, this is especially useful as many selectors are often unused. Array of glob file patterns to the files to search through for used classes (HTML, JS, PHP, ERB, Templates, anything that uses CSS selectors).

gaze - :crystal_ball: A globbing fs

  •    Javascript

A globbing fs.watch wrapper built from the best parts of other fine watch libs. Compatible with Node.js 4.x/0.12/0.10, Windows, OSX and Linux. Install the module with: npm install gaze or place into your package.json and run npm install.

XprobePlugin - Live Memory Browser for Apps & Xcode

  •    Javascript

In the simulator, the memory sweeper is loaded from a bundle inside the plugin using lldb requiring no changes to the app's project source. To use the plugin, build this project and restart Xcode. Once your application is running, use menu item "Product/Xprobe/Load" to load the initial view of the memory sweep of your app. If you are a plugin developer you use "Product/Xprobe/Xcode" to inspect the objects of the Xcode application itself. You can then filter the objects listed into the app or their methods using a pattern. If there are no objects matching the pattern and it is a class name it will be displayed. Patterns prefixed with '+' or '-' will search all classes linked into the application for methods matching the pattern. A raw pointer prefixed with "0x" can be entered to inspect an object passed as an argument to a trace. You can also enter an object "path" starting "seed." from the paths logged as you browse your application so you can find your way back to objects easily.