extracts documentation from functions for REPL and doc-compiling fun
Adds 'docstring' style comments to functions, accessible programmatically.
var doc = require'doc-fn'var inc = doc/// signature: number -> number/// takes a number, and returns that number + 1return a + 1console.logincdoc/* console output:signature: number -> numbertakes a number, and returns that number + 1*/
mutates a function to add a doc property, which includes all comments starting with
///\nat the top of a function.
adds a getter to put the .doc property on all inhereting functions
docmergeFunctionprototype // adds .doc to all functions
npm install doc-fn