New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

rapid-replace

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rapid-replace - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

20

index.js

@@ -0,1 +1,21 @@

const fs = require('fs');
const path = require('path');
const projectRoot = process.cwd();
const rapidDir = path.join(projectRoot,'/rapid-project');
try{
if(!fs.existsSync(rapidDir)){
fs.mkdirSync(rapidDir);
}else{
console.log(`${rapidDir} 已经存在了!`);
}
}catch(e){
console.log(e);
}
console.log(`${rapidDir} 成功创建!`)
console.log(process.cwd());
console.log('========hello word: from rapid replace');

2

package.json
{
"name": "rapid-replace",
"version": "0.0.1",
"version": "0.0.2",
"description": "repid replace node modules file",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc