fn npm_view_command_for(name: &str, version: &str) -> Command {
    let mut command = create_command("npm");
    command.args(&["view", "--json", &format!("{}@{}", name, version)]);
    command
}
// build a command to run `npm view` with json output
build a command to run `npm view` with json output
build a command to run ` npm view ` with json output
fn npm_view_command_for(name: &str, version: &str) -> Command {
    let mut command = create_command("npm");
    command.args(&["view", "--json", &format!("{}@{}", name, version)]);
    command
}
fn npm_view_command_for ( name : & str , version : & str ) -> Command { let mut command = create_command ( " " ) ; command . args ( & [ " " , " " , & format ! ( " " name version ) ] ) ; command }
build a command to run `npm view` with json output
build a command to run ` npm view ` with json output
name
&str
version
&str