hind

Hind is a simple post function hook written in NodeJS

Usage no npm install needed!

<script type="module">
  import hind from 'https://cdn.skypack.dev/hind';
</script>

README

Hind

Simple Javascript Function Hooking

Hind is a simple post function hook written in NodeJS.

INSTALLING

Using Git:

git clone https://github.com/active9/hind
cd hind*
npm install

Using NPM:

npm install hind

MODULE

Hind may run included as a module in your projects.

var hind = require('hind');

function testFunction() {
    console.log('I am testFunction');
}

testFunction = hind(testFunction, function(func) {
    func();
    console.log('This was called after testFunction');
});

testFunction();


EXAMPLES

More examples in the examples folder on the github repo.

~Enjoy!

CONTRIB

Hind is open-source via the MIT license we encourage Forking.

LICENSE

MIT