$ npm install ignorepatterns
A regular expression that matches common filenames that we want to ignore
import ignorePatternsRegExp from 'ignorepatterns'
console.log(ignorePatternsRegExp.test('.DS_Store')) // true
npm install --save ignorepatterns
import pkg from ('ignorepatterns')
const pkg = require('ignorepatterns').default
This package is published with the following editions:
ignorepatterns/source/index.ts
is TypeScript source code with Import for modulesignorepatterns
aliases ignorepatterns/edition-es2022/index.js
ignorepatterns/edition-es2022/index.js
is TypeScript compiled against ES2022 for Node.js 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modulesignorepatterns/edition-es2022-esm/index.js
is TypeScript compiled against ES2022 for Node.js 12 || 14 || 16 || 18 || 20 || 21 with Import for modulesDiscover the release history by heading on over to the HISTORY.md
file.
Discover how you can contribute by heading on over to the CONTRIBUTING.md
file.
These amazing people are maintaining this project:
No sponsors yet! Will you be the first?
These amazing people have contributed code to this project:
Discover how you can contribute by heading on over to the CONTRIBUTING.md
file.
Unless stated otherwise all works are:
and licensed under:
© 2010 - cnpmjs.org x YWFE | Home | YWFE