
Security News
Frontier AI Is Now Critical Infrastructure
The Fable shutdown shows how quickly model access can become a business continuity risk for AI-dependent engineering teams.
create-wps-airscript
Advanced tools
用于快速创建wps airscript项目,使用日常流行的前端开发方式进行开发,最后将其打包成适合airscript的脚本代码。
相对于直接在WPS AirScript脚本编辑器中写代码,优势在于:
项目默认使用 wps-airscript-router ,可定义脚本内部路由,并通过webhook传递不同的路由参数调用对应的处理函数,以实现复杂的功能。你也可不使用或手动移除此包,只进行简单的脚本开发。
项目中自带安装wps-airscript-types,可使用airscript中全局变量的类型声明和代码提示。
npx create-wps-airscript my-airscript-project
cd my-airscript-project
npm install
然后就可以编辑src/index.ts,编写你的脚本了。
npm run build
dist目录下会生成airscript脚本文件,包含未经压缩混淆的index.js和压缩混淆后的index.min.js。根据你的需要,将其复制粘贴到WPS AirScript脚本编辑器中即可。
{
"version": "",
"copyright": "",
"description": "",
"scripts": ["src/index.ts"]
}
说明:
FAQs
快速创建wps airscript项目
The npm package create-wps-airscript receives a total of 1 weekly downloads. As such, create-wps-airscript popularity was classified as not popular.
We found that create-wps-airscript 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 Fable shutdown shows how quickly model access can become a business continuity risk for AI-dependent engineering teams.

Security News
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.