Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider removing the nodegit link #117

Open
Yogu opened this issue Mar 11, 2024 · 2 comments
Open

Consider removing the nodegit link #117

Yogu opened this issue Mar 11, 2024 · 2 comments

Comments

@Yogu
Copy link

Yogu commented Mar 11, 2024

libgit2.org lists nodegit as a Node.js binding of libgit2. However, the last stable release of nodegit is from 2020, there are no prebuilt binaries for any supported Node.js version anymore (only Node 16), and it depends on the long-deprecated "request" library that has security vulnerabilities. There are several issues asking about the project state without replies from the maintainers.

Developers looking for a library to use Git in Node.js will likely just get frustrated when they start with using Node.js.

@ethomson
Copy link
Member

Is there a better alternative?

@Yogu
Copy link
Author

Yogu commented Mar 11, 2024

I don't think there is an alternative in terms of JavaScript libgit2 bindings. There are alternatives to using libgit2 altogether, e.g. isomorphic-git (a JavaScript implementation of git) or simple-git (a JavaScript wrapper around the regular Git binary)

There is a fork of nodegit by figma with pre-built binaries for Node 18 and Node 20, but this is still far from a maintained open-source project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants