1.0.0 • Published 8 years ago

above v1.0.0

Weekly downloads
15
License
MIT
Repository
github
Last release
8 years ago

#Above Simple Javascript Function Hooking

Above is a simple pre function hook written in NodeJS.

#INSTALLING Using Git:

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

Using NPM:

npm install above

#MODULE Above may run included as a module in your projects.

var above = require('above');

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

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

testFunction();

#EXAMPLES More examples in the examples folder on the github repo.

~Enjoy!

#CONTRIB

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

#LICENSE MIT