You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

git-hash-object

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

git-hash-object

Compute an object ID as if from `git hash-object`.

1.1.0
latest
Source
npmnpm
Version published
Weekly downloads
1.6K
-42.3%
Maintainers
1
Weekly downloads
 
Created
Source

git-hash-object Travis CI Build Status

Compute an object ID as if from git hash-object.

NPM Badge

Install

npm install git-hash-object

Usage

const gitHashObject = require("git-hash-object");

gitHashObject("Hello World");
//=> "5e1c309dae7f45e0f39b1bf3ac3cd9db12e7d689"

API

gitHashObject(input)

input

Type: string | Buffer

The input to compute.

Keywords

git

FAQs

Package last updated on 03 Feb 2021

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