Browse › Libraries and packages

Libraries and packages

A library is code other programs import. Package managers for Go, Python, Rust and JavaScript can fetch it straight from git, at a tag or an exact commit.

How people use git for it

  • Tags are the versions; a project that depends on yours pins one.
  • Go modules are fetched straight from the repository by its address.
  • Changes stay readable for the people who depend on you: every release is a diff away.

On GitStable

Examples hosted elsewhere

  • Requestsgithub.com/psf/requests

    A widely used HTTP library for Python.

  • Lodashgithub.com/lodash/lodash

    Utility functions for JavaScript.

Other things people do with git