mirror of https://github.com/jkjoy/sunpeiwen.git
24 lines
329 B
Markdown
24 lines
329 B
Markdown
|
# node-fingerprint
|
||
|
|
||
|
> Generate a fingerprint for a node process
|
||
|
|
||
|
Original concept taken from [cuid](https://github.com/ericelliott/cuid).
|
||
|
|
||
|
Fingerprint is based on a hash of pid + hostname.
|
||
|
|
||
|
## Install
|
||
|
|
||
|
```
|
||
|
npm install node-fingerprint
|
||
|
```
|
||
|
|
||
|
## Use
|
||
|
|
||
|
```
|
||
|
var fingerprint = require('node-fingerprint')()
|
||
|
```
|
||
|
|
||
|
---
|
||
|
|
||
|
MIT © Kevin Lanni
|