Common Ignore Patterns
A regular expression that matches common filenames that we want to ignore
Usage
import ignorePatternsRegExp from 'ignorepatterns'
console.log(ignorePatternsRegExp.test('.DS_Store')) // true
Install
npm
- Install:
npm install --save ignorepatterns
- Import:
import pkg from ('ignorepatterns')
- Require:
const pkg = require('ignorepatterns').default
Deno
import pkg from 'https://unpkg.com/ignorepatterns@^4.13.0/edition-deno/index.ts'
Editions
This package is published with the following editions:
-
ignorepatterns/source/index.ts
is TypeScript source code with Import for modules -
ignorepatterns
aliasesignorepatterns/edition-esnext/index.js
-
ignorepatterns/edition-esnext/index.js
is TypeScript compiled against ESNext for Node.js 10 || 12 || 13 || 14 with Require for modules -
ignorepatterns/edition-esnext-esm/index.js
is TypeScript compiled against ESNext for Node.js 12 || 13 || 14 with Import for modules -
ignorepatterns/edition-deno/index.ts
is TypeScript source code made to be compatible with Deno
History
Discover the release history by heading on over to the HISTORY.md
file.
Contribute
Discover how you can contribute by heading on over to the CONTRIBUTING.md
file.
Backers
Maintainers
These amazing people are maintaining this project:
Sponsors
No sponsors yet! Will you be the first?
Contributors
These amazing people have contributed code to this project:
Discover how you can contribute by heading on over to the CONTRIBUTING.md
file.
License
Unless stated otherwise all works are:
- Copyright © 2012+ Bevry Pty Ltd
- Copyright © 2011 Benjamin Lupton
and licensed under: