# borschik-hash

> Borschik hash function to freeze files

Latest version **1.1.1** (published 2017-03-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install borschik-hash
pnpm add borschik-hash
yarn add borschik-hash
bun add borschik-hash
```

Provides the command `borschik-hash`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.1 |
| Published | 2017-03-10 |
| First published | 2017-03-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.10 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Andrew Abramov |
| Maintainers | blond |
| Keywords | borschik, hash, freeze, files, crypto, sha1, base64 |

## Links

- npm: https://www.npmjs.com/package/borschik-hash
- Repository: https://github.com/borschik/borschik-hash
- Homepage: https://github.com/borschik/borschik-hash#readme
- Issues: https://github.com/borschik/borschik-hash/issues
- npm.io page: https://npm.io/package/borschik-hash

## 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

- 1.1.1 (latest) — 2017-03-10
- 1.1.0 — 2017-03-10
- 1.0.2 — 2017-03-09
- 1.0.1 — 2017-03-09
- 1.0.0 — 2017-03-09

## README

borschik-hash
=============

[Borschik](https://github.com/borschik/borschik) hash function to [freeze](https://github.com/borschik/borschik/blob/master/docs/freeze/freeze.en.md) files.

[![NPM Status][npm-img]][npm]
[![Travis Status][test-img]][travis]

[npm]:      https://www.npmjs.org/package/borschik-hash
[npm-img]:  https://img.shields.io/npm/v/borschik-hash.svg

[travis]:   https://travis-ci.org/borschik/borschik-hash
[test-img]: https://img.shields.io/travis/borschik/borschik-hash.svg?label=tests

Install
-------

```
$ npm install --save-dev borschik-hash
```

Usage
-----

```js
var borschikHash = require('borschik-hash');

var contents = fs.readFileSync('path/to/file');
var hash = borschikHash(contents);

// ➜ LWJmVQ8Q4Kn5C4mK3iYXHyieR7g
```

CLI
---

```shell
$ borschik-hash path/to/file

LWJmVQ8Q4Kn5C4mK3iYXHyieR7g
```

License
-------

MIT © [Andrew Abramov](https://github.com/blond)

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