# slim-object-hash

> Generates hashes from objects

Latest version **0.1.2** (published 2019-08-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install slim-object-hash
pnpm add slim-object-hash
yarn add slim-object-hash
bun add slim-object-hash
```

## 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.1.2 |
| Published | 2019-08-01 |
| First published | 2019-07-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 6.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Bill Johnston |
| Maintainers | billjohnston |
| Keywords | object, hash, slim |

## Links

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

## Alternatives

- [@gemini-wallet/core](https://npm.io/package/@gemini-wallet/core.md) — 515.6K weekly downloads
- [utility](https://npm.io/package/utility.md) — 416.6K weekly downloads
- [@primno/dpapi](https://npm.io/package/@primno/dpapi.md) — 7.2K weekly downloads
- [pi-readseek](https://npm.io/package/pi-readseek.md) — 3.7K weekly downloads
- [@emilia-protocol/verify](https://npm.io/package/@emilia-protocol/verify.md) — 1.1K weekly downloads

## Recent versions

- 0.1.2 (latest) — 2019-08-01
- 0.1.1 — 2019-08-01
- 0.1.0 — 2019-07-31

## README

Slim Object Hash
=========

Generates hashes from objects

Smaller than `object-hash`
34.7 KB vs 769 B

Faster than `object-hash`
![jsperf-object-hash-comparison](https://i.imgur.com/tOLd26P.png)

## Installation

  `yarn add slim-object-hash`

## Usage

    import slimObjectHash from 'slim-object-hash'

    const objHash = slimObjectHash({ a: 'a', b: 'b', c: 'c' })
    const objHash2 = slimObjectHash({ c: 'c', b: 'b', a: 'a' })

    console.log(objHash) // 2061408781
    console.log(objHash === objHash2) // true
  

## Tests

  `yarn test`

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