
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.
@hyext/ext-sdk-cli
Advanced tools
npm install -D @hyext/ext-sdk-cli
npx extsdk init
npx extsdk start
npx extsdk release
npx extsdk parse
示例 src/modules/exampleApi.js:
export default {
/**
* 示例API
* @param {string} data 传参
* @returns {string} 返回数据
*/
exampleApi(data) {
return `result ${data}`;
}
}
编译结果 dist/json/exampleApi.json:
[
{
"comment": "/**\n * 示例API\n * @param {string} data 传参\n * @returns {string} 返回数据\n */",
"meta": null,
"description": "示例API",
"params": [
{
"type": {
"names": [
"string"
]
},
"description": "传参",
"name": "data"
}
],
"returns": [
{
"type": {
"names": [
"string"
]
},
"description": "返回数据"
}
],
"name": "exampleApi",
"longname": "hyExt.exampleApi",
"kind": "function",
"memberof": "hyExt",
"scope": "static"
}
]
npx extsdk dts
$ npx extsdk build -e test
npx extsdk deploy -e test
Options:
-e, --env <string> 环境变量 开发: env, 测试: test, 生产: prod, 默认 dev (default: "dev")
-t, --taskName <string> 指定任务名,不填执行所有任务
-u, --user <string> CND服务用户名
-p, --password <string> CND服务密码
-i, --CDNIps <string> CND服务服务IPS
-m, --CDNModule <string> CND服务module
-H, --CDNHost <string> CND服务域名
-P, --CDNPath <string> 上传CND目录,默认 /hyext-sdk/${taskName}/
-h, --help output usage information
FAQs
小程序SDK构建工具
We found that @hyext/ext-sdk-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.