folder-create
v1.0.1
Published
Create a folder based on the fs module of node.js
Downloads
11
Readme
folder-create
Install
npm install folder-create
Instructions
Create a folder based on the fs module of node.js
const createFolder = require("folder-create");
createFolder(prefix,url);
|params | type | introduction | |-------------|-----------|------------------| |prefix |string | The path of the folder you want to create | |url |string | The folder you want to create, with "/" as the spacer |
/*For example*/
/* F:\test , Create a test folder on the F drive*/
createFolder("F:","test");
/* D:\study\test\a , In the D disk study folder, create a "test / a" folder*/
createFolder("D:/study","test/a");