# @allex/md5

> MD5 implements with pure js. supports string, Buffer, ArrayBuffer, Uint8Array

Latest version **1.0.4** (published 2018-12-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install @allex/md5
pnpm add @allex/md5
yarn add @allex/md5
bun add @allex/md5
```

## Health

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

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

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2018-12-17 |
| First published | 2018-11-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 22.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | allex |
| Maintainers | allex |
| Keywords | md5 |

## Links

- npm: https://www.npmjs.com/package/@allex/md5
- Repository: https://github.com/allex/md5
- Homepage: https://github.com/allex/md5#readme
- Issues: https://github.com/allex/md5/issues
- npm.io page: https://npm.io/package/@allex/md5

## Dependencies (1)

- [@allex/crypto-util](https://npm.io/package/@allex/crypto-util.md) ~1

## Alternatives

- [@mdxeditor/editor](https://npm.io/package/@mdxeditor/editor.md) — 962.4K weekly downloads
- [mmdb-lib](https://npm.io/package/mmdb-lib.md) — 680.9K weekly downloads
- [playcanvas](https://npm.io/package/playcanvas.md) — 36.2K weekly downloads
- [@glw907/cairn-cms](https://npm.io/package/@glw907/cairn-cms.md) — 967 weekly downloads
- [markdown-to-confluence](https://npm.io/package/markdown-to-confluence.md) — 103 weekly downloads

## Recent versions

- 1.0.4 (latest) — 2018-12-17
- 1.0.3 — 2018-11-18

## README

# @allex/md5

MD5 implements with pure js. supports string, Buffer, ArrayBuffer, Uint8Array

## Usage

```sh
yarn add @allex/md5 -D
```

```js
import { md5 } from '@allex/md5'

const testBinaryFile = path.resolve(__dirname, 'files', 'me.png')
const arrayBuffer = fs.readFileSync(testBinaryFile);

describe('use pure js md5-js to test', () => {
  test('md5() with string, arraybuffer', () => {
    expect(md5('allex')).toBe('f5a85798dd7dbaba428299b13f3d2204');
    expect(md5(arrayBuffer)).toBe('f13e8870391a1b1a5f12c3ac8c256583');
  });
});
```

## License

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

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