pub fn parse_npm_purl(purl: &str) -> Option<(Option<&str>, &str, &str)>Expand description
Parse an npm PURL to extract namespace, name, and version.
e.g., "pkg:npm/@types/node@20.0.0" -> Some((Some("@types"), "node", "20.0.0"))
e.g., "pkg:npm/lodash@4.17.21" -> Some((None, "lodash", "4.17.21"))