New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

dirhash

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dirhash

Hash the content of a directory given a hashing algorithm

latest
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

dirhash

Hashes the content of a specified directory given a hashing algorithm.

Install

npm install dirhash --save

Example

var dirhash = require('dirhash');

dirhash('./some/directory'); // md5 string #=> "9cdfb439c7876e703e307864c9167a15" dirhash('./some/directory', 'sha1'); // see nodejs crypto module for supported types

Keywords

hash

FAQs

Package last updated on 20 Feb 2014

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