# Install ipfs-only-hash with npm

Just enough code to calculate the IPFS hash for some data. Version 4.0.0 via npm; verified 2021-03-26.

## Install

```sh
sudo av install npm:ipfs-only-hash
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g ipfs-only-hash
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:ipfs-only-hash
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/ipfs-only-hash>
- **Version:** 4.0.0
- **Source summary:** Just enough code to calculate the IPFS hash for some data
- **Homepage:** <https://github.com/alanshaw/ipfs-only-hash#readme>
- **Repository:** <https://github.com/alanshaw/ipfs-only-hash>
- **Upstream docs:** <https://github.com/alanshaw/ipfs-only-hash#readme>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/ipfs-only-hash/-/ipfs-only-hash-4.0.0.tgz>
- **Issue tracker:** <https://github.com/alanshaw/ipfs-only-hash/issues>
- **Published:** 2021-03-26T16:22:23.338Z
- **Last updated:** 2021-03-26T16:22:23.338Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- ipfs-only-hash (cli)
- ipfs-only-hash (alias)

## Dependencies

- ipfs-unixfs-importer
- meow

## Build dependencies

- @mapbox/node-pre-gyp
- ava
- cids
- ipfs
- nyc
- standard

## Install behavior

- Post-install hook: not defined
- Bottle: not available

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 4.0.0
- Package-manager updated: 2021-03-26
- Local data: ok
- Upstream repository: https://github.com/alanshaw/ipfs-only-hash
- warning: The package-manager record has not been updated in over a year.
- info: No cached GitHub release or tag data was available.

## Security Notes

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


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 4.0.0
- **Version Count:** 7
- **Maintainers:** alanshaw
- **Author:** Alan Shaw
- **Publisher:** alanshaw
- **Integrity:** sha512-TE1DZCvfw8i3gcsTq3P4TFx3cKFJ3sluu/J3XINkJhIN9OwJgNMqKA+WnKx6ByCb1IoPXsTp1KM7tupElb6SyA==
- **Shasum:** b3bd60a244d9eb7394961aa9d812a2e5ac7c04d6
- **Unpacked Size:** 6,319
- **File Count:** 0
- **Created At:** 2019-01-13T23:35:59.332Z
- **Latest Published At:** 2021-03-26T16:22:23.338Z
- **Modified At:** 2022-05-06T03:36:25.420Z


## Related links

- [Database and data packages](https://pkg.so/database-data-tools/) - Matched curated package taxonomy and local package facts.
- [ipfs-car](https://pkg.so/npm/ipfs-car/) - Package names and metadata indicate a similar tool family. Shared terms: addressing, cid, cli, content, content-addressing.
- [prettier-stylelint](https://pkg.so/npm/prettier-stylelint/) - Local package facts share a topical domain. Shared terms: cli, code, data, meow.
- [open-cli](https://pkg.so/npm/open-cli/) - Local package facts share a topical domain. Shared terms: cli, data, meow.

## Sources

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