intermediary

1.0.5 • Public • Published

Intermediary

Have hooks and middleware for just about any function.

npm version build status bundle size

Features

  • Execute middleware before your function executes
  • Execute afterware after your function executes
  • Organize and compose repeated workflows
  • Asynchronous middleware and afterware support
  • Works in node as well as browser

Installing

Using NPM:

npm i intermediary

Using yarn:

yarn add intermediary

UMD Build CDN:

<script src="https://cdn.jsdelivr.net/npm/intermediary/lib/intermediary.min.js"></script>

Importing

Common JS:

const Intermediary = require('intermediary')

ES6:

import Intermediary from 'intermediary';

Browser:

If using the CDN, Intermediary is available at window.Intermediary.

Package Sidebar

Install

npm i intermediary

Weekly Downloads

9

Version

1.0.5

License

MIT

Unpacked Size

21.4 kB

Total Files

5

Last publish

Collaborators

  • eskawl