Function parse_dependencies

Source
pub fn parse_dependencies(
    content: impl Into<String> + Debug,
) -> Result<Vec<SimpleDependency>, PackageLockJsonError>
Expand description

Returns a list of dependencies from a package-lock.json file. The dependencies returned by this function only show a few fields. If you need more information, use the parse function.