https://github.com/hyper63/hyper-adapter-hooks
Fetch adapter for Hyper Hooks port
https://github.com/hyper63/hyper-adapter-hooks
Last synced: about 1 year ago
JSON representation
Fetch adapter for Hyper Hooks port
- Host: GitHub
- URL: https://github.com/hyper63/hyper-adapter-hooks
- Owner: hyper63
- License: apache-2.0
- Created: 2021-06-17T16:47:15.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-07-12T14:13:09.000Z (almost 5 years ago)
- Last Synced: 2025-01-13T05:41:39.010Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 39.1 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
hyper-adapter-hooks
A Hooks port adapter that uses fetch to send webhook events in the hyper service framework
---
## Table of Contents
- [Getting Started](#getting-started)
- [Installation](#installation)
- [Methods](#methods)
- [Contributing](#contributing)
- [License](#license)
## Getting Started
```js
import { default as hooks } from "https://x.nest.land/hyper-adapter-hooks@1.0.5/mod.js";
export default {
app: opine,
adapter: [
{
port: "hooks",
plugins: [hooks(["DATA:QUERY", "DATA:CREATE_DB"])],
},
],
};
```
## Installation
This is a Deno module available to import from
[nest.land](https://nest.land/package/hyper-adapter-hooks)
deps.js
```js
export { default as hooks } from "https://x.nest.land/hyper-adapter-hooks@1.0.5/mod.js";
```
## Methods
This adapter fully implements the Hooks port and can be used as the
[hyper Hooks service](https://docs.hyper.io/hooks-api) adapter
See the full port [here](https://nest.land/package/hyper-port-hooks)
## Contributing
Contributions are welcome! See the hyper
[contribution guide](https://docs.hyper.io/contributing-to-hyper)
## Testing
```
./scripts/test.sh
```
To lint, check formatting, and run unit tests
## License
Apache-2.0