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

screwdriver-hashr

Package Overview
Dependencies
Maintainers
2
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

screwdriver-hashr

Wrapper around the hashr library to simplify generating hash ids for data objects

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

Screwdriver hashr

Version Downloads Build Status Open Issues Dependency Status License

Wrapper around the hashr library to simplify generating hash ids for data objects

Usage

npm install screwdriver-hashr

The module exposes a simple interface for the different options available for calling hasha.

The function calls JSON.stringify on the value passed in

sha1

const hashr = require('screwdriver-hashr');
const objectToHash = {
  hash1: 'value1',
  hash2: 'value2'
};
console.log(hashr.sha1(objectToHash));

Testing

npm test

License

Code licensed under the BSD 3-Clause license. See LICENSE file for terms.

Keywords

FAQs

Package last updated on 20 Dec 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

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