parse-gitignore simplifies working with .gitignore files in JavaScript projects. It parses .gitignore files, transforming them into a usable array of glob patterns and strings for excluding files and directories. This enables you to easily filter files/folders based on .gitignore rules, facilitating tasks like scanning large directory structures while respecting project ignore configurations. It supports multiple .gitignore files and pattern contexts for comprehensive ignore rule management.
The parse-gitignore npm package had initial releases in February 2015, followed by sporadic releases until July 2018. Version 1.0.0 was released in July 2018. There was a significant gap until May 2022 when version 2.0.0 was released. Since then, there have been no further releases as of August 2025. The package's release frequency is irregular, with long periods of inactivity.
Parse-gitignore downloads show a strong upward trend. Starting at 1.5 million in March 2024, downloads consistently increased, peaking at over 5.1 million in August 2025. The most significant growth occurred between October 2024 and June 2025, indicating increasing popularity. The data for August 2025 is partial.