talira

Open Source Insights (deps.dev)

Understand the structure, construction and security of open source packages

servicefree

Open Source Insights (deps.dev) is a free service developed and hosted by Google that resolves the full dependency graph of every package version in Cargo, Go, Maven, npm, NuGet, PyPI and RubyGems, and decorates it with licences, OSV security advisories, the source repository's stars, forks and open issues, its OpenSSF Scorecard and OSS-Fuzz status. The website compares versions and visualises dependencies; the same data comes from a JSON-over-HTTP and gRPC API (v3, with a stability guarantee, and v3alpha with experimental endpoints such as dependent counts, batch lookups and similarly named packages) and a public BigQuery dataset for SQL over the whole ecosystem. It needs no API key, and the data it generates (resolved dependencies, advisory statistics) is licensed CC-BY 4.0.

Problems it solves

  • a free API that tells me how many packages depend on a given npm, PyPI, Cargo or Maven package
  • get the full resolved transitive dependency graph of a package version without installing it
  • look up stars, forks and open issue counts for the repository behind a package in the same API call
  • query dependency and dependent data for a whole package ecosystem with SQL instead of millions of API calls
  • check which licences appear anywhere in a package's transitive dependencies
  • find known vulnerabilities anywhere in a library's dependency tree before adopting it
  • compare two versions of a library to see how its dependencies changed
  • get a repository's OpenSSF Scorecard and OSS-Fuzz status alongside package metadata
  • find packages with names similar to a popular package to spot typosquats
  • identify which open source package version a file came from by its hash
  • batch-look up metadata for thousands of package versions in one request
  • list the packages and versions published from a particular GitHub repository
  • a dependency data API I can call without signing up for a key

Features

  • resolved dependency graphs for Cargo, Go, Maven, npm, NuGet, PyPI and RubyGems
  • licences, OSV advisories, version history and deprecation per version
  • project data from GitHub, GitLab and Bitbucket: stars, forks, open issues, licence
  • OpenSSF Scorecard and OSS-Fuzz data per project
  • dependent counts (direct and indirect) for npm, Cargo, Maven and PyPI (v3alpha)
  • HTTP JSON and gRPC API: v3 stable, v3alpha experimental
  • batch endpoints of up to 5,000 requests, PURL lookup, similarly named packages (v3alpha)
  • lookup by file content hash
  • public BigQuery dataset with dependencies, dependents, advisories and projects tables
  • web UI to visualise dependency graphs and compare versions
View 1 more
  • popular packages refreshed within about an hour

Limitations

  • No data for C or C++ packages: it covers Cargo, Go, Maven, npm, NuGet, PyPI and RubyGems only1

Capabilities

Has an APIplan not known

Alternatives

The same job

These do what Open Source Insights (deps.dev) does.

  1. Libraries.io Helps developers find new open source libraries, modules and frameworks and keep track of ones they depend upon
  2. ecosyste.ms Tools and open datasets to support, sustain, and secure critical digital infrastructure
  3. OpenSSF Scorecard Security health metrics for open source

Compare Open Source Insights (deps.dev) with the top 3