Small optimization for [Tapable](https://github.com/webpack/tapable) hooks.
npm install opp-tapableSmall optimization for Tapable hooks.
Using npm:
$ npm install --save opp-tapable
``js
import { SyncHook } from 'opp-tapale';
const hook = new SyncHook(['name']);
hook.tap('log', console.log);
hook('xiaoshuang'); // ✅
`
`js
import { SyncHook } from 'tapale';
const hook = new SyncHook(['name']);
hook.tap('log', console.log);
hook.call('xiaoshuang'); // 🅾️
`
`js
import { SyncHook } from 'opp-tapale';
const hook = new SyncHook(['name']);
const revoke = hook.tap('log', console.log);
hook('xiaoshuang'); // log 'xiaoshuang'
revoke();
// hook.revoke(console.log);
hook('xiaoshuang'); // log nothing
``