Base Ignore

Adds an `.ignore` method that parses `.gitignore` and converts the patterns from wildmatch to glob patterns, so they can then be passed to glob, minimatch, micromatch, gulp.src, glob-stream, etc
Alternatives To Base Ignore
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Parse Gitignore501,3143112 years ago11May 14, 20222mitJavaScript
Parse a gitignore file into an array of patterns. Comments and empty lines are stripped.
To Regex42445,4426716 years ago8February 24, 20181mitJavaScript
Generate a regex from a string or array of strings.
Is Windows36508,3941,1655 years ago6February 14, 20183mitJavaScript
Returns true if the platform is Windows (and Cygwin or MSYS/MinGW for unit tests)
Filter Object2471407 years ago12June 19, 20173mitJavaScript
Return a copy of an object, filtered to have only keys that match the given glob patterns.
Glob Object207114 years ago4June 19, 20174mitJavaScript
Filter an object using glob patterns and dot notation.
Delete191,6123557 years ago14July 02, 20171mitJavaScript
Delete files and folders and any intermediate directories if they exist (sync and async).
Is Match1985207 years ago10June 18, 2017mitJavaScript
Create a matching function from a glob pattern, regex, string, array or function.
Filter Values1457106 years ago5May 11, 20172mitJavaScript
Filter an object to have only the `own` properties for which a `callback` function returns true.
Is Dotfile12385,6061437 years ago7May 30, 2017mitJavaScript
Return true if the file is (or the file path has) a dotfile.
Find Pkg102,0701446 years ago5March 28, 20181mitJavaScript
Find the first directory with a package.json, recursing up, starting with the given directory. Similar to look-up but does not support globs and only searches for package.json. Async and sync.
Alternatives To Base Ignore
Select To Compare


Alternative Project Comparisons
Popular Glob Projects
Popular Readme Projects
Popular Text Processing Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Javascript
Readme
Glob