Every line of 'swr npm' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.
45 async function npm(command,dir){ 46 if(dir) 47 await exec(`npm --prefix ${dir} ${command}`); 48 else 49 await exec(`npm ${command}`); 50 }