@feathersjs/hooks

Async middleware for JavaScript and TypeScript

Usage no npm install needed!

<script type="module">
  import feathersjsHooks from 'https://cdn.skypack.dev/@feathersjs/hooks';
</script>

README

Hooks

Deno CI Download Status

@feathersjs/hooks brings Koa style middleware to any asynchronous JavaScript and TypeScript function or class.

Installation

Node

npm install @feathersjs/hooks --save
const { hooks } = require('@feathersjs/hooks');

import { hooks } from '@feathersjs/hooks';

Deno

import { hooks } from 'https://deno.land/x/hooks/src/index.ts';

Documentation

See feathersjs/hooks for the complete documentation.

License

Copyright (c) 2020

Licensed under the MIT license.