CLI tool and Node.js module to automatically fetch .gitignore templates for any project type from GitHub's official gitignore repository. Current stable version is 0.7.0. Release cadence is irregular; last update was in 2019. Key differentiator: provides both a global CLI command and a programmatic API, with support for NPX for one-off invocations. Compared to alternatives (e.g., gitignore.io), it directly pulls from GitHub's authoritative collection with no external API dependency.
No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
This package is CommonJS-only; ESM import will fail. Use require for now.
Same as getTypes: CommonJS only. No default export; named exports require destructuring.
If you import the whole module, it will be an object with getTypes and writeFile. ESM import will not work.
Programmatically fetch the Node.gitignore template and write it to a local file.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.