$ npm install ignorepatterns
A regular expression that matches common filenames that we want to ignore
npm install --save ignorepatterns
require('ignorepatterns')
<script type="module">
import * as pkg from '//dev.jspm.io/ignorepatterns'
</script>
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.coffee
is coffeescript source code with require for modulesignorepatterns/edition-esnext/index.js
is coffeescript compiled for node.js with require for modulesignorepatterns/edition-browsers/index.js
is coffeescript compiled for browsers with require for modulesignorepatterns/edition-node-0.12/index.js
is coffeescript 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