jsctags generator using tern
For access to the binary:
npm install -g git+https://github.com/ramitos/jsctags.git
Otherwise, add to your project's package.json under dependencies or dev-dependencies:
"jsctags": "git://github.com/ramitos/jsctags.git"
$ jsctags [--dir=/path/to] /path/to/file.js [-f]
$ cat /path/to/file.js | jsctags [--dir=/path/to] [--file=/path/to/file.js] [-f]