Socket
Book a DemoInstallSign in
Socket

mouse-hash

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mouse-hash

Generate a hash by moving your mouse

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

mouse-hash

Generate a hash by moving your mouse (macOS and Windows)

Install

$ npm install --save mouse-hash

Usage

const mouseHash = require('mouse-hash');

mouseHash().then(hash => {
	console.log(hash);
	//=> 3bac6a60a8e9d1fe5ad5457562bb16d6226f952f01f3
});

API

mouseHash([options])

Returns a promise that resolves to the generated hash in sha512.

options

length

Type: number
Default: 500

Length of the array of mouse coordinates.

CLI

$ npm install --global mouse-hash
$ mouse-hash --help

  Usage
    $ mouse-hash

  Options
    --length  250. [Default: 500]

License

MIT © Kevin Martensson

Keywords

cli-app

FAQs

Package last updated on 08 Sep 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts