# multihash-maker

> Multihash Maker is a simple way to create multihashes with no external dependencies.

Latest version **1.1.0** (published 2023-04-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install multihash-maker
pnpm add multihash-maker
yarn add multihash-maker
bun add multihash-maker
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2023-04-15 |
| First published | 2023-01-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Adam Shea |
| Maintainers | adamshea |

## Links

- npm: https://www.npmjs.com/package/multihash-maker
- Repository: https://github.com/Adam-Shea/multihash-maker
- Homepage: https://github.com/Adam-Shea/multihash-maker#readme
- Issues: https://github.com/Adam-Shea/multihash-maker/issues
- npm.io page: https://npm.io/package/multihash-maker

## Recent versions

- 1.1.0 (latest) — 2023-04-15
- 1.0.7 — 2023-04-15
- 1.0.6 — 2023-01-29

## README

# Multihash Maker
Multihash Maker is a simple way to create multihashes with no external dependencies.

Read more about multihash and the multihash specification here [https://multiformats.io/multihash/](https://multiformats.io/multihash/)
## Install
```
npm install multihash-maker
```
## Usage
```typescript
import { createMultiHash, parseMultiHash } from '../lib/index';

createMultiHash('Hello World!', 'sha256')
// Returns '22041dd7b6443542e75701aa98a0c235951a28a0d851b11564d20022ab11d2589a8'

parseMultiHash('11148a173fd3e32c0fa78b90fe42d305f202244e2739')
// Returns {
      length: 20,
      hashFunction: "sha1",
      hash: "8a173fd3e32c0fa78b90fe42d305f202244e2739"
    }
```

## Tests
```
npm test
```

## License

[The MIT License](http://opensource.org/licenses/MIT)

Copyright (c) 2023 Adam Shea

---
_Source: https://npm.io/package/multihash-maker · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
