
Security News
OWASP 2025 Top 10 Adds Software Supply Chain Failures, Ranked Top Community Concern
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.
开发初始化工具管理器
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.
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
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.