文件名称:serverless-onehook:一个钩子统治一切
文件大小:2KB
文件格式:ZIP
更新时间:2024-06-16 13:43:39
JavaScript
无服务器的一个钩子 轻松创建插件而无需发布它们 在所有现有钩子之前和之后分配一个钩子 npm i -s @kessler/serverless-onehook plugins : - " @kessler/serverless-onehook " 在项目的基础上创建一个oneHook.js : module . exports = ( onehook ) => { // this module is run in during the construction of the plugin instance // so you can do anything that you would do in a normal sls plugin class onehook . commands = { ... } onehook . hooks =
【文件预览】:
serverless-onehook-master
----index.js(1KB)
----package.json(369B)
----README.md(1KB)