Library for function decorations in Javascript