normalize-package-index 0.1.0

Package index ingestion from distro and language registries
Documentation

Package index ingestion from distro and language registries.

Provides the [PackageIndex] trait for fetching package metadata from package manager indices (apt, brew, crates.io, npm, etc.).

Example

use normalize_package_index::{get_index, PackageMeta};

if let Some(brew) = get_index("brew") {
    if let Ok(pkg) = brew.fetch("ripgrep") {
        println!("{}: {} - {:?}", pkg.name, pkg.version, pkg.repository);
    }
}