A collection of very simple but occasionally useful functions, primarily intended for use as callbacks and in tests.

npm install fkt
8 downloads in the last month


Trivial but occasionally useful functions intended for use as callbacks and in unit tests. Compatible with Node.js, requirejs and browser environments.


Simply do npm install fkt (for Node.js), jam install fkt (for Jam), bower install fkt (for Bower) or just download fkt.js.


See the generated documentation. It's not particularly pleasant to the eye, so if anyone knows a better template for jsdoc please let me know).

npm loves you