$ npm install ignorepatterns
A regular expression that matches common filenames that we want to ignore
npm install --save ignorepatternsrequire('ignorepatterns')This package is published with the following editions:
ignorepatterns aliases ignorepatterns/index.js which uses Editions to automatically select the correct edition for the consumers environmentignorepatterns/source/index.ts is typescript source code with import for modulesignorepatterns/edition-node-13/index.js is typescript compiled for node.js 13 with require for modulesignorepatterns/edition-node-0.12/index.js is typescript compiled for node.js 0.12 with require for modulesvar ignored = require('ignorepatterns').test('.DS_Store')
console.log(ignored) // true
Discover 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