This repository was archived by the owner on Aug 27, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +25
-5
lines changed Expand file tree Collapse file tree 3 files changed +25
-5
lines changed Original file line number Diff line number Diff line change 22src
33media
44* config. *
5+ pnpm * .yaml
Original file line number Diff line number Diff line change @@ -21,6 +21,22 @@ pnpm add neogit
2121yarn 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- _ & emsp ; _
42+ _ Caching whole pack files...? _
Original file line number Diff line number Diff line change 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" ,
You can’t perform that action at this time.
0 commit comments