1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
|
Source: node-ignore
Section: javascript
Priority: optional
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Uploaders:
Jonas Smedegaard <dr@jones.dk>,
Build-Depends:
debhelper-compat (= 12),
node-babel7,
node-debug <!nocheck>,
node-typescript <!nocheck>,
node-tap <!nocheck>,
pandoc <!nodoc>,
Standards-Version: 4.5.0
Homepage: https://github.com/kaelzhang/node-ignore
Vcs-Browser: https://salsa.debian.org/js-team/node-ignore
Vcs-Git: https://salsa.debian.org/js-team/node-ignore.git
Rules-Requires-Root: no
Package: node-ignore
Architecture: all
Depends:
nodejs,
${misc:Depends},
Description: manager and filter for .gitignore rules - Node.js library
"ignore" is a manager, filter and parser
for the .gitignore spec at <https://git-scm.com/docs/gitignore>,
implemented in pure JavaScript.
.
* Standalone module, much simpler than e.g. "fstream-ignore".
* Only contains utility methods
to filter paths according to the specified ignore rules.
* Never tries to discover ignore rules
by traversing directories or fetching from git configurations.
* Doesn't care about sub-modules of git projects.
* Complies exactly to gitignore documentation
at <https://git-scm.com/docs/gitignore>:
- "/*.js" should only match "a.js", not also "abc/a.js".
- "**/foo" should match "foo" anywhere.
- Prevents re-including a file excluded in a parent directory.
- Handles trailing whitespaces:
- "a " (one space) should not match "a " (two spaces).
- "a \ " matches "a ".
- All test cases are verified against "git check-ignore".
|