# nx-url-hash

> Utility to easily generate hashes from URL's

Latest version **1.0.6** (published 2015-02-24) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install nx-url-hash
pnpm add nx-url-hash
yarn add nx-url-hash
bun add nx-url-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.0.6 |
| Published | 2015-02-24 |
| First published | 2015-02-22 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Peter Andreas Moelgaard |
| Maintainers | pmoelgaard |
| Keywords | url, hash, crypto |

## Links

- npm: https://www.npmjs.com/package/nx-url-hash
- Repository: https://github.com/pmoelgaard/nx-url-hash
- Issues: https://github.com/pmoelgaard/nx-url-hash/issues
- npm.io page: https://npm.io/package/nx-url-hash

## Dependencies (1)

- [deep-extend](https://npm.io/package/deep-extend.md) ^0.3.2

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

- 1.0.6 (latest) — 2015-02-24
- 1.0.5 — 2015-02-24
- 1.0.4 — 2015-02-24
- 1.0.3 — 2015-02-23
- 1.0.2 — 2015-02-22
- 1.0.1 — 2015-02-22
- 1.0.0 — 2015-02-22

## README

# URL-HASH
### Utility to easily generate hashes from URL's
Current configuration is coded to use SHA-1 and HEX encoding, future updates will enable users to easily configure this. 
&nbsp;

---

## Installation

	npm install nx-url-hash [--save]
	
## Usage

	var URLHash = require('nx-url-hash');
	var urlHash = new URLHash({
		key: [YourKey][Optional],
		algorithm: [Any Algorithm supported by NodeJS's Crypto Lib] [Default: SHA1] [Optional],
		encoding: [Any Encoding supported by NodeJS's Crypto Lib] [Default: HEX] [Optional],
	})
	var hash = urlHash.hash(URL_TO_ENCODE);

## Author
Peter Andreas Moelgaard ([GitHub](https://github.com/pmoelgaard), [Twitter](https://twitter.com/petermoelgaard))

## License
Licensed under the Apache License, Version 2.0: [http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)

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