Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ektx/imkdirs
node生成多层级文件夹
https://github.com/ektx/imkdirs
Last synced: about 1 month ago
JSON representation
node生成多层级文件夹
- Host: GitHub
- URL: https://github.com/ektx/imkdirs
- Owner: ektx
- Created: 2016-05-17T14:16:18.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-15T13:14:21.000Z (about 6 years ago)
- Last Synced: 2024-11-14T22:44:16.491Z (about 2 months ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
#iMkdirs
多层级文件夹生成
## 安装
#### 全局使用
```shell
npm install -g imkdrs
```#### 文件引用
```shell
npm install imkdrs
```## 示例
#### 全局使用
```shell
# 生成 abc def 123 三个文件夹
mk abc def 123# 在当前目录生成一个多级目录: abc/def/123
mk abc abc/def/123
```#### 文件夹中使用
```shell
var mk = require('imkdirs');# 在当前目录生成一个多级目录: abc/def/123
mk('abc/def/123')
```