$ gnpm 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
import pkg from 'https://unpkg.com/ignorepatterns@^5.6.0/edition-deno/index.ts'
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 4 || 6 || 8 || 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 modulesignorepatterns/edition-types/index.d.ts
is TypeScript compiled Types with Import for modulesignorepatterns/edition-deno/index.ts
is TypeScript source code made to be compatible with DenoDiscover the release history by heading on over to the HISTORY.md
file.
Discover how to contribute via the CONTRIBUTING.md
file.
Unless stated otherwise all works are:
and licensed under:
Copyright 2013 - present © cnpmjs.org | Home |