git-hash-object
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

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.

Package Sidebar

Install

npm i git-hash-object

Weekly Downloads

17,012

Version

1.1.0

License

MIT

Unpacked Size

3.18 kB

Total Files

6

Last publish

Collaborators

  • richienb