You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

files-structure-generator

Package Overview
Dependencies
Maintainers
0
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

files-structure-generator - npm Package Compare versions

Comparing version

to
1.0.9

12

add-script.js

@@ -20,5 +20,5 @@ const fs = require('fs');

// Function to copy a file
function copyFile(src, dest) {
fs.copyFileSync(src, dest);
// Function to move a file
function moveFile(src, dest) {
fs.renameSync(src, dest);
}

@@ -34,6 +34,6 @@

// Copy the file
copyFile(srcPath, destPath);
// Move the file
moveFile(srcPath, destPath);
console.log('Files copied and package.json updated successfully.');
console.log('Files moved and package.json updated successfully.');
}, 5000);
{
"name": "files-structure-generator",
"version": "1.0.8",
"version": "1.0.9",
"description": "A utility to generate a predefined file and folder structure from a JSON configuration.",

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