【文件属性】:
文件名称:rss-news-api:Awani RSS新闻-源码
文件大小:51KB
文件格式:ZIP
更新时间:2021-04-21 00:18:38
TypeScript
ʕ•́؈•̀) workers-typescript-template typescript workers-typescript-template
包含电池的模板,用于启动TypeScript Cloudflare worker项目。
:battery: 入门
该模板旨在与一起使用。 如果您还不熟悉该工具,建议您安装该工具并将其配置为可与您的。 文档可以在找到。
要使用牧马人生成,请运行以下命令:
wrangler generate my-ts-project https://github.com/EverlastingBugstopper/worker-typescript-template
:woman: :laptop: 发展
在调用请求处理程序,并将返回给定请求的。
:test_tube: 测验
该模板随附有mocha测试,该测试仅测试请求处理程序可以处理每个请求方法。 npm test将运行您的测试。
:pencil: 格式设定
该模
【文件预览】:
rss-news-api-main
----package.json(1KB)
----wrangler.toml.example(163B)
----test()
--------_setup.ts(180B)
--------tsconfig.json(287B)
--------handler.ts(507B)
----.prettierrc(105B)
----package-lock.json(177KB)
----src()
--------router.ts(427B)
--------controller()
--------types()
--------index.ts(706B)
----tsconfig.json(586B)
----.gitignore(49B)
----webpack.config.js(481B)
----.cargo-ok(0B)
----README.md(2KB)