Latest Threat Research:Malicious dYdX Packages Published to npm and PyPI After Maintainer Compromise.Details
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

Source
npmnpm
Version
0.1.1
Version published
Weekly downloads
1
-80%
Maintainers
1
Weekly downloads
 
Created
Source

mouse-hash

Generate a hash by moving your mouse (OS X and Windows)

Install

$ npm install --save mouse-hash

Usage

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

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

API

mouseHash([options], callback)

options

length

Type: number
Default: 500

Length of the array of mouse coordinates.

callback(err, hash)

hash

Type: string

The generated hash in sha512.

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 12 Apr 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