The functional-javascript-workshop executable is in /Users/name/npm/bin, which is not in your PATH variable, add this to your .bashrc or .bash_profile file:
export PATH=$PATH:/Users/name/npm/bin
Then you should be able to run functional-javascript-workshop