node-traceroute
Simple wrapper around native traceroute command. A trace in node will return an array of hops. Each hop contains the hosts in that hop and the respective round trip times of each host.
Install
$ npm install traceroute
Example
traceroute = ;traceroute;
This example would write the following to the console if run from my network...
'66.97.5.249': 43206 43377 43379 '216.182.7.102': 43575 43799 43808 '216.182.7.165': 44538 44613 44837 '216.182.7.253': 44846 56281 56303 '4.53.88.197': 57735 57707 57891 '4.69.155.254': 58618 48514 48567 '4.69.134.77': 34167 44317 '4.69.148.45': 44366 '4.69.141.22': 44542 44316 44642 '4.69.138.196': 4456 35554 '4.69.138.228': 45035 '4.59.128.18': 35777 35827 45305 '72.14.238.232': 45621 '209.85.255.68': 45079 42695 '209.85.251.37': 32588 32569 32657 '209.85.251.9': 59068 '209.85.254.48': 60287 75094 '66.249.94.22': 61565 62063 '72.14.238.242': 63001 '64.233.174.140': 96476 97585 '72.14.239.83': 98656 '64.233.174.191': 149286 93528 94405 '216.239.43.76': 83901 85089 84837 '74.125.224.240': 84645 75322 75585