UNPKG
above
Version:
latest (1.0.0)
1.0.0
0.0.2
0.0.1
Above is a simple pre function hook written in NodeJS
github.com/active9/above
active9/above
above
/
lib
/
above.js
7 lines
(5 loc)
•
141 B
JavaScript
View Raw
1
2
3
4
5
6
7
var
_ =
require
(
'underscore'
);
function
above
(
originalFn, aboveFn
) {
return
_.
wrap
(originalFn, aboveFn); };
module
.
exports
= above;