Skip to content
Sections
>> Trisquel >> Paquets >> nabia >> javascript >> node-ignore
nabia  ] [  aramo  ]
[ Paquet source : node-ignore  ]

Paquet : node-ignore (5.1.4-3)

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".

Autres paquets associés à node-ignore

  • dépendances
  • recommandations
  • suggestions
  • dep: nodejs
    evented I/O for V8 javascript - runtime executable
    un paquet virtuel est également fourni par node-pegjs

Télécharger node-ignore

Télécharger pour toutes les architectures proposées
Architecture Taille du paquet Espace occupé une fois installé Fichiers
all 19,8 ko83 ko [liste des fichiers]