New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dircmp

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dircmp

dircmp is a utility modules which allows comparison of directories by creating hash unique to the files and links contained and their locations.

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

dircmp

dircmp is a utility modules which allows comparison of directories by creating hash unique to the files and links contained and their locations.

Install

npm install dircmp

Quick Examples

// comparison
dircmp.cmp('/home/betty', '/home/bill', function(err, areEqual) {
  if (areEqual) {
    console.log('Wow - very compatible');
  } else {
    console.log('Opposites attract?');
  };
});

// hash
dircmp.hash('/home/chuck', function(err, digest) {
  console.log('hex digest: ' + digest);
});

Test

git clone https://github.com/jdubie/dircmp.git
cd dircmp
npm install
make test

FAQs

Package last updated on 24 Feb 2013

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc