2.2.8 • Published 2 years ago
fs-create-project v2.2.8
FSCreateProject
CreateProject (fscp) is an app that create HTML/JS/CSS projects.
"create" Method
It has 4 types:
- Starter
- Basic
- Dev
- Express
const fscp = require("fs-create-project");
fscp.create({ type: "dev" }); // or starter, basic, express
"Project" Class
You can add any file you want.
const fscp = require("fs-create-project");
const project = new fscp.Project("fscproject"); // all methods are implemented via "this.name"
project.createProject("index.js", "style/", "style/style.css", "index.html"); // If you want to create a folder instead file, just end the string with "/".
project.showFeatures(); // Logs project features to console
project.copyProject(); // The destination is "{this.name}-copy"
project.deleteProject();