# file-digest

> A simple file hasher

Latest version **0.0.3** (published 2018-11-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install file-digest
pnpm add file-digest
yarn add file-digest
bun add file-digest
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2018-11-01 |
| First published | 2018-10-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8.3 |
| Dependencies | 0 |
| Unpacked size | 7.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Shaun Warman |
| Maintainers | shaunwarman |
| Keywords | digest, file, md5, sha, hash |

## Links

- npm: https://www.npmjs.com/package/file-digest
- Repository: https://github.com/shaunwarman/digest-file
- Issues: https://github.com/shaunwarman/digest-file/issues
- npm.io page: https://npm.io/package/file-digest

## Alternatives

- [unionfs](https://npm.io/package/unionfs.md) — 2.2M weekly downloads
- [path-starts-with](https://npm.io/package/path-starts-with.md) — 35.9K weekly downloads
- [redzip](https://npm.io/package/redzip.md) — 1.2K weekly downloads
- [vscode-anymatch](https://npm.io/package/vscode-anymatch.md) — 848 weekly downloads
- [@ledgerhq/coin-filecoin](https://npm.io/package/@ledgerhq/coin-filecoin.md) — 793 weekly downloads

## Recent versions

- 0.0.3 (latest) — 2018-11-01
- 0.0.2 — 2018-10-31
- 0.0.1 — 2018-10-25

## README

# file-digest

[![build status](https://img.shields.io/travis/shaunwarman/digest-file.svg)](https://travis-ci.com/shaunwarman/digest-file)
[![code coverage](https://img.shields.io/codecov/c/github/shaunwarman/digest-file.svg)](https://codecov.io/gh/shaunwarman/digest-file)
[![code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo)
[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
[![made with lass](https://img.shields.io/badge/made_with-lass-95CC28.svg)](https://lass.js.org)
[![license](https://img.shields.io/github/license/shaunwarman/digest-file.svg)](LICENSE)
[![npm downloads](https://img.shields.io/npm/dt/digest-file.svg)](https://npm.im/digest-file)

> A simple file hasher


## Table of Contents

* [Install](#install)
* [Usage](#usage)
* [Contributors](#contributors)
* [License](#license)


## Install

[npm][]:

```sh
npm install file-digest
```

[yarn][]:

```sh
yarn add file-digest
```


## Usage

```js
const digest = require('file-digest');

console.log(digest(filepath, 'md5'));

> a4df7e1b8482e101323544dbaf874ea
```


## Contributors

| Name             | Website                   |
| ---------------- | ------------------------- |
| **Shaun Warman** | <https://shaunwarman.com> |


## License

[MIT](LICENSE) © [Shaun Warman](https://shaunwarman.com)


## 

[npm]: https://www.npmjs.com/

[yarn]: https://yarnpkg.com/

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