untapable
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

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)

Readme

Keywords

Package Sidebar

Install

npm i untapable

Weekly Downloads

2

Version

0.0.1

License

MIT

Unpacked Size

7.93 kB

Total Files

15

Last publish

Collaborators

  • lywzx