# creationix/js-git

A JavaScript implementation of Git.

Repository: https://github.com/creationix/js-git
Canonical: https://ross.abutalabs.com/products/js-git
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2026-06-20T12:03:43+00:00

## Health v2 (maintenance only)
Score: 72/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 88, release rhythm 35, longevity 100
- inputs: {"age_days": 4904, "days_push": 74, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3847, forks 262 (observed 2026-08-28T04:08:24.167471+00:00)

## What it is
JS-Git is a collection of JavaScript modules implementing Git's core functionality, letting applications create, read, and manipulate Git repositories programmatically. It uses a composable mixin architecture so developers can assemble exactly the Git features they need, from in-memory object databases to packfile handling and history walkers.

## Use cases
- implement git-powered applications in javascript
- use git as a database instead of sql or nosql stores
- build developer tools for restricted environments like chromebooks and tablets
- read and write git objects in memory from node.js
- parse and create git packfiles in javascript
- walk git commit history and trees programmatically

## When to choose
- you need to embed git functionality in a JavaScript/Node.js application without shelling out to the git binary
- you want to use git's content-addressable storage as an application database
- you need fine-grained, composable control over git object storage and transport

## When to avoid
- you just need standard git commands in scripts - use the git CLI or isomorphic-git instead
- you need full modern git protocol support or active community maintenance
- you rely on ES6 generators being unsupported in your target runtime

## Facets
- artifact type: library
- maturity: maintenance
- function: version-control, serialization, developer-tools
- domain: version-control, developer-tools, files
- platform: cross-platform
- tags: git, pure-javascript, composable-mixins, in-memory-git, nodejs, javascript

## Member repositories
- creationix/js-git (main) score 72

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:24.167471+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:26:00.410078+00:00, confidence not recorded.
  - readme: https://github.com/creationix/js-git (fetched 2026-08-28T04:08:24.167471+00:00, sha b388a42a74a4)
  - registry_npm: https://registry.npmjs.org/js-git (fetched 2026-08-29T09:21:00.397807+00:00, sha e93e762cdfa8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
