Skip to content
/ es-git Public

A modern Git library built for Node.js with blazing-fast installation and rock-solid stability, powered by N-API.

License

Notifications You must be signed in to change notification settings

toss/es-git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

56e8401 · Apr 27, 2025
Apr 5, 2025
Apr 27, 2025
Apr 5, 2025
Jan 28, 2025
Apr 26, 2025
Apr 19, 2025
Apr 26, 2025
Apr 26, 2025
Mar 16, 2025
Dec 8, 2024
Apr 5, 2025
Mar 22, 2025
Nov 6, 2022
Apr 5, 2025
Apr 26, 2025
Apr 20, 2025
Apr 20, 2025
Jan 29, 2025
Apr 9, 2025
Mar 21, 2025
Mar 22, 2025
Nov 6, 2022
Apr 26, 2025
Apr 26, 2025
Mar 25, 2025
Apr 26, 2025
Nov 4, 2024
Nov 4, 2024
Nov 4, 2024
Apr 19, 2025
Jan 30, 2025
Apr 19, 2025

Repository files navigation

wallpaper

es-git · MIT License NPM badge

English | 한국어

es-git is a modern git library built for Node.js. With its simple and intuitive interface, even complex git operations can be easily integrated, and the built-in TypeScript types ensure fast and reliable development.

es-git builds high-performance git functionality across different operating systems by using napi-rs to compile a native module from git2-rs, which binds to libgit2.

Furthermore, by offering pre-built native modules tailored to your OS and CPU architecture without relying on node-gyp, the module can be installed effortlessly without the need to build it locally.

Examples

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"

Documentation

Contributing

We welcome contribution from everyone in the community. Read below for detailed contribution guide.

CONTRIBUTING

License

MIT © Viva Republica, Inc. See LICENSE for details.

Toss

About

A modern Git library built for Node.js with blazing-fast installation and rock-solid stability, powered by N-API.

Resources

License

Code of conduct

Stars

Watchers

Forks