0.0.1 • Published 8 months ago

untapable v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

about untapable

Build Status codecov NPM version NPM downloads Known Vulnerabilities License

Enhance the Tapable library to incorporate the 'unTap' method.

Installation

npm install --save untapable

Usage

unTap example

import { unTap } from 'untapable';

const hook = new SyncHook(["arg1", "arg2", "arg3"]);

const fn = () => {
    
}
hook.tap('use age', fn)

// untap
unTap(hook, 'use age'); // or unTap(hook, fn)
0.0.1

8 months ago