https://github.com/toss/es-git
A modern Git library built for Node.js with blazing-fast installation and rock-solid stability, powered by N-API.
https://github.com/toss/es-git
Last synced: 12 months ago
JSON representation
A modern Git library built for Node.js with blazing-fast installation and rock-solid stability, powered by N-API.
- Host: GitHub
- URL: https://github.com/toss/es-git
- Owner: toss
- License: mit
- Created: 2022-11-10T15:14:35.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-06-22T13:59:49.000Z (12 months ago)
- Last Synced: 2025-06-24T07:41:49.630Z (12 months ago)
- Language: Rust
- Homepage: https://es-git.slash.page
- Size: 4.72 MB
- Stars: 287
- Watchers: 4
- Forks: 9
- Open Issues: 2
-
Metadata Files:
- Readme: README-ko_kr.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README

# es-git · [](https://github.com/toss/es-git/blob/main/LICENSE) [](https://www.npmjs.com/package/es-git)
[English](https://github.com/toss/es-git/blob/main/README.md) | 한국어
es-git은 Node.js를 위한 현대적인 git 라이브러리예요. 간편하고 직관적인 인터페이스 덕분에 복잡한 git 작업도 쉽게 통합할 수 있으며, TypeScript 타입을 내장해 빠르고 안정적인 개발을
지원해요.
es-git은 [git2-rs](https://github.com/rust-lang/git2-rs)를 통해 libgit2에 바인딩하고, 이를 [napi-rs](https://napi.rs/)로 네이티브 모듈로 빌드해서,
운영체제와 상관없이 고성능 git 기능을 제공해요.
또한, node-gyp를 사용하지 않고 운영체제 및 cpu 아키텍처에 맞는 사전 빌드된 네이티브 모듈을 제공하기 때문에 사용자 환경에서 빌드하지 않고 간편하게
모듈을 설치할 수 있어요.
## 예제
```ts
import { cloneRepository } from 'es-git';
const repo = await cloneRepository('https://github.com/toss/es-git', '/path/to/clone');
const head = repo.head().name();
console.log(head); // "refs/heads/main"
```
## 문서
- [사용법](https://es-git.slash.page/ko/usage/repository.html)
- [레퍼런스](https://es-git.slash.page/ko/reference/Repository/openRepository.html)
## 기여하기
커뮤니티에 있는 모든 분들에게 기여를 환영해요. 아래에 작성되어 있는 기여 가이드를 확인하세요.
[CONTRIBUTING](https://github.com/toss/es-git/blob/main/.github/CONTRIBUTING.md)
## 라이센스
MIT © Viva Republica, Inc. 자세한 내용은 [LICENSE](./LICENSE)를 참고하세요.