Skip to content
This repository was archived by the owner on Aug 27, 2025. It is now read-only.

Commit 7b97a3d

Browse files
committed
v1.0.0 public release
1 parent 2a07481 commit 7b97a3d

File tree

3 files changed

+25
-5
lines changed

3 files changed

+25
-5
lines changed

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
src
33
media
44
*config.*
5+
pnpm*.yaml

README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,22 @@ pnpm add neogit
2121
yarn add neogit
2222
```
2323

24+
NeoGit is a pure TS library serving as a readonly, high-performance alternative to isomorphic-git,
25+
addressing several issues (i.e.
26+
[incorrect merge-base algorithm](https://github.com/isomorphic-git/isomorphic-git/issues/2109)).
27+
28+
IsoGit caches many things, including entire Git object packs (potentially massive). In contrast,
29+
NeoGit takes a minimal and deliberate approach to caching. While caching much less data, NeoGit
30+
still outperforms IsoGit by a factor of 2x in many scenarios.
31+
32+
NeoGit is suitable for environments where native modules are not supported, such as VSCode
33+
extensions. It provides a lightweight yet performant alternative to NodeGit when cache invalidation
34+
is not a primary concern.
35+
36+
Developed for [VSCode Git Branch](https://github.com/wavim/vscode-git-branch), this library focuses
37+
on a core set of Git features and is not a full implementation of all Git capabilities. Therefore
38+
API is not documented, plus I'm particularly lazy (it should be self-documenting).
39+
2440
---
2541

26-
_ _
42+
_Caching whole pack files...?_

package.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,23 @@
11
{
22
"name": "neogit",
33
"author": "wavim",
4-
"version": "0.0.0",
4+
"version": "1.0.0",
55
"description": "Git Isometry for Node.js",
66
"lint-staged": {
77
"*.ts": [
88
"eslint --fix --no-warn-ignored --max-warnings=0",
99
"prettier --write"
1010
]
1111
},
12-
"repository": "github:wavim/neogit",
12+
"repository": {
13+
"type": "git",
14+
"url": "git+https://github.com/wavim/neogit.git"
15+
},
1316
"license": "MIT",
1417
"keywords": [
1518
"git",
16-
"iso",
17-
"node"
19+
"node",
20+
"isomorphic"
1821
],
1922
"main": "dist/index.cjs",
2023
"module": "dist/index.mjs",

0 commit comments

Comments
 (0)