# Install npmignore with npm

Command line tool for creating or updating a .npmignore file based on .gitignore. Version 0.3.5 via npm; verified 2025-12-23.

## Install

```sh
sudo av install npm:npmignore
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g npmignore
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:npmignore
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/npmignore>
- **Version:** 0.3.5
- **Source summary:** Command line tool for creating or updating a .npmignore file based on .gitignore.
- **Homepage:** <https://github.com/ljharb/npmignore>
- **Repository:** <https://github.com/ljharb/npmignore>
- **Upstream docs:** <https://github.com/ljharb/npmignore>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/npmignore/-/npmignore-0.3.5.tgz>
- **Issue tracker:** <https://github.com/ljharb/npmignore/issues>
- **Published:** 2025-12-23T03:54:11.876Z
- **Last updated:** 2025-12-23T03:54:11.876Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- npmignore (cli)
- npmignore (alias)

## Dependencies

- hasown
- minimist

## Build dependencies

- @ljharb/eslint-config
- auto-changelog
- encoding
- eslint
- in-publish
- jiti
- nyc
- safe-publish-latest
- tape

## Install behavior

- Post-install hook: not defined
- Lifecycle scripts: prepublish
- Bottle: not available

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 0.3.5
- Package-manager updated: 2025-12-23
- Local data: ok
- Upstream repository: https://github.com/ljharb/npmignore
- notice: The package-manager record has not changed recently.
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for npmignore. Package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 0.3.5
- **Version Count:** 10
- **Maintainers:** ljharb
- **Author:** Jordan Harband
- **Publisher:** ljharb
- **Engines:** Node: >=0.10.0
- **Funding:** <https://github.com/sponsors/ljharb>
- **Integrity:** sha512-w09J4Xnr/ogTUvvfYne0Ro2WUC5mV5NeEpi15oXS5l5td/edPROKqpM83Nx6ixJGkTt65ONu80ofRTvRmB7vQw==
- **Shasum:** fe6c16f7ac8a85d537e3a4d94482806e8d19115d
- **Unpacked Size:** 41,381
- **File Count:** 0
- **Created At:** 2014-10-26T09:26:27.887Z
- **Latest Published At:** 2025-12-23T03:54:11.876Z
- **Modified At:** 2025-12-23T03:54:12.063Z


## Related links

- [Text processing packages](https://pkg.so/text-processing-tools/) - Matched curated package taxonomy and local package facts.
- [napa](https://pkg.so/npm/napa/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, file, management.
- [lerna-update-wizard](https://pkg.so/npm/lerna-update-wizard/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, line, management.
- [normalize-pkg](https://pkg.so/npm/normalize-pkg/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, management, minimist.

## Sources

- pkg.so package database
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
