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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.0
    18,364
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.0
    18,364
  • 1.0.0
    1

Package Sidebar

Install

npm i git-hash-object

Weekly Downloads

17,185

Version

1.1.0

License

MIT

Unpacked Size

3.18 kB

Total Files

6

Last publish

Collaborators

  • richienb