Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
开发初始化工具管理器
You can customize the initialized directory
你可以自定义初始化的目录
Use ditm to quickly build a simple project structure directory
使用ditm可以快速构建一个简单的项目结构目录
如何使用?
npm install ditm -g
ditm -v
Get the version.
获取版本号
ditm init
initialize the project file.
初始化项目结构
ditm init [obj_name]
Set the project name, and initialize the project file.
设置自定义的项目目录名
ditm -h
Get help :).
获得帮助信息
生成的目录结构
-- demo
+-- css
|-- base.css
+-- js
+-- lib
+-- images
+-- index.html
+-- 404.html
You can customize the list of initialized files!
你可以自定义初始化的文件列表!
config.json
{
"rootName" : "demo",
"data" : [
{
"name" : "index.html",
"type" : "file"
}, {
"name" : "404.html",
"type" : "file"
}, {
"name" : "base.css",
"type" : "file"
}, {
"name" : "css",
"type" : "dir"
}, {
"name" : "js",
"type" : "dir"
}, {
"name" : "images",
"type" : "dir"
}, {
"name" : "lib",
"type" : "dir"
}
]
}
Change name
in data
to the name of the file you want
Change type
in data
to the type you want
Dir
is the directory
File
is the file
把 data
中的 name
修改成你要的文件名字
把 data
中的 type
修改成你要的类型
dir
是目录
file
是文件
FAQs
Create a simple project file structure.
The npm package ditm receives a total of 3 weekly downloads. As such, ditm popularity was classified as not popular.
We found that ditm demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.