{"id":22998230,"url":"https://github.com/uswitch/serverless-hooks-plugin","last_synced_at":"2025-08-14T00:31:55.236Z","repository":{"id":143908303,"uuid":"87585727","full_name":"uswitch/serverless-hooks-plugin","owner":"uswitch","description":"A plugin to run arbitrary commands on any lifecycle event in serverless","archived":false,"fork":false,"pushed_at":"2019-02-27T21:41:40.000Z","size":5,"stargazers_count":29,"open_issues_count":3,"forks_count":4,"subscribers_count":16,"default_branch":"master","last_synced_at":"2024-12-01T20:46:02.326Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/uswitch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-07T20:47:27.000Z","updated_at":"2023-09-08T17:23:21.000Z","dependencies_parsed_at":"2024-04-16T07:16:35.402Z","dependency_job_id":null,"html_url":"https://github.com/uswitch/serverless-hooks-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uswitch%2Fserverless-hooks-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uswitch%2Fserverless-hooks-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uswitch%2Fserverless-hooks-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uswitch%2Fserverless-hooks-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uswitch","download_url":"https://codeload.github.com/uswitch/serverless-hooks-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229786999,"owners_count":18124014,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-15T06:12:14.594Z","updated_at":"2024-12-15T06:12:15.197Z","avatar_url":"https://github.com/uswitch.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Serverless Hooks Plugin\n\n## How to use\n\n### Install from npm\n\n1. Ensure your project has a valid `package.json`.\n1. Run `npm install --save serverless-hooks-plugin`.\n1. Add `serverless-hooks-plugin` to the list of plugins in `serverless.yml`. The plugins list is an array at the root level (an example `serverless.yml` is included in this project).\n1. Add an array of hooks to be used as per examples, at `custom: hooks`.\n\n### Local installation (not recommended)\n1. Copy `serverless-hooks-plugin.js` into `.serverless-plugins` in the serverless project. You may need to create this folder.\n1. Add `serverless-hooks-plugin` to the list of plugins in `serverless.yml`. The plugins list is an array at the root level (an example `serverless.yml` is included in this project).\n1. Add an array of hooks to be used as per examples, at `custom: hooks`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuswitch%2Fserverless-hooks-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuswitch%2Fserverless-hooks-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuswitch%2Fserverless-hooks-plugin/lists"}