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

sha1sum-cli

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sha1sum-cli

Cross Platform CLI File SHA-1 Hash Generator

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

sha1sum-cli

Cross Platform CLI File SHA-1 Hash Generator

Install Globally:

$ npm install -g sha1sum-cli

Usage:

$ sha1sum \[path/\]filename

Display help:

$ sha1sum -h $ sha1sum --help

So, this is a command line npm package that simulates the sha1sum command on linux.

Since I am, unfortunately, developing on Windows to run on linux I cannot use the same checksum hash utility.

I have reasonable suspicion that node will be wherever I need to build. That simple.

While the tool I built is probably inferior to the real deal, it meets my needs and I suppose it is better than the nothing I found before I built it.

Feel free to improve it or build something yourself should it be insufficient.

I've left my work both as free as in speech and free as in beer as I could manage, mind the dependencies licenses as need be.

P.S. The way I actually install it:

$ npm install --save-dev sha1sum-cli

The ways I actually use it:

$ node node_modules/sha1sum/bin/sha1sum.js \[path/\]filename

$ sed -i s/%REPLACEABLE_BUILD_VERSION_HASH%/`node node_modules/sha1sum/bin/sha1sum.js \[path/\]filename`/g

Keywords

npm

FAQs

Package last updated on 20 Mar 2018

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