Launch Week Day 5: Introducing Reachability for PHP.Learn More
Socket
Book a DemoSign in
Socket

rebuild-git

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rebuild-git

rebuild-git

latest
Source
npmnpm
Version
1.1.1
Version published
Weekly downloads
20
-73.33%
Maintainers
2
Weekly downloads
 
Created
Source

rebuild-git

Bare friendly fork of isomorphic-git focused on git rebuild from in-memory objects

Usage

const git = require('rebuild-git')

const o = {
  id: 'my-id',
  type: 'commit',
  data: Buffer.from('hello world')
}

// Write the object to your repo using fs
const oid = await git.writeObject({
  type: o.type,
  object: o.data
})

if (oid !== o.id) {
  // Bad object
}

License

Apache-2.0

Keywords

bare

FAQs

Package last updated on 26 Mar 2026

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