
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
框架WHtml的官方cli脚手架工具,让你更加快速的创建项目,感受编码的乐趣。
一行命令解决一切
npm install -g whtml-cli
你只需要简单的输入以下几条命令即可愉快运行网站:
$ whtml init project # 创建项目 project 为你项目名字(自定义)
$ cd project # 进入文件
$ npm install # 解决依赖
# 提供的命令
$ npm run all # 运行网站
$ npm run doc # 运行帮助手册
$ npm run push # 快速发布至Github,仅限Linux
框架的源代码已经提交Github,你可以从Github了解更多的信息:
WHtml能够让你获得以下更加爽快的体验:
1: 将静态页面组件化模块化,降低重复代码的重复编写。
2: 基于Node.js + Gulp 自动化构建项目,让前端的你无缝对接
3: 采用jade + stylus,用更加简洁高效的方式去书写html和css
4: 自动压缩合并编译html,css,JavaScript使的项目具备更加优秀的响应速度
5: 更加自由的框架配置和详细的中文代码注释,一键轻松配置源码实现定制化
6: 简洁明了的ES6+语法,代码赏心悦目,提升编码乐趣。
7: 程序实时编译同步你的每一行修改,删除,重命名,新建为你自动构建输出到 dist/,代码写完程序自动zip压缩打包,你需要做的是将zip发给你的后端即可。
9: ....等
更多的功能期待你的切身尝试!
1:请先安装git并确保git命令能在终端中正确反馈,因为cli脚手架需要通过git来安装下载代码到你的项目中。
2:init下载速度是基于你的网速决定的,如果太慢不需要着急等待片刻就好。
感谢陈尧瑞童鞋在实际项目中的使用,并进一步提的宝贵建议。如果你正在使用本框架,并且框架为你带来了更高的效率,请帮忙转发,感谢!框架的编译速度,核心代码逻辑,功能开发等..还有很多优化的地方,你的认可是我开源动力。
如果你有web框架开发经验十分欢迎交流宝贵的设计思想,同时项目将稳定持续的更新升级...
如果你觉得 WHtml 对你有帮助,或者想对我微小的工作一点资瓷,欢迎给我提建议:QQ群:399041912。
FAQs
A simple CLI for scaffolding whtml projects.
The npm package whtml-cli receives a total of 5 weekly downloads. As such, whtml-cli popularity was classified as not popular.
We found that whtml-cli 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.