//! npm ecosystem support for deps-lsp.
//!
//! This module provides package.json parsing and npm registry integration
//! for JavaScript/TypeScript projects.

pub mod ecosystem;
pub mod error;
pub mod formatter;
pub mod lockfile;
pub mod parser;
pub mod registry;
pub mod types;

pub use ecosystem::NpmEcosystem;
pub use error::{NpmError, Result};
pub use formatter::NpmFormatter;
pub use lockfile::NpmLockParser;
pub use parser::{NpmParseResult, parse_package_json};
pub use registry::{NpmRegistry, package_url};
pub use types::{NpmDependency, NpmDependencySection, NpmPackage, NpmVersion};

pub type NpmVersionReq = node_semver::Range;
