It is useful for me to study the existing node modules that were written in coffee-script , of which I am ALREADY familiar .
Run a quick search for installed (globally) node modules, for example ..
for x in $(echo $NODE_PATH | tr ':' '\n'); { [[ -d $x ]] && ls $x/**/*.coffee; }
On my system, I would look into the results (usually with the shortest paths, and which give modules that are more convenient for me), for example
/usr/local/lib/node_modules/ghfm/src/index.coffee
or
/usr/local/lib/node_modules/ipaddr.js/src/ipaddr.coffee
Alex Gray Oct. 15 '15 at 5:34 2015-10-15 05:34
source share