Writing Tern Analysis to analyze dependencies in Node.js


#1

Hello, I am totally new to tern and i need to analyze nodeJs modules to get the actual methods called from an imported module. so if i have module A that requires module B then i need to know which B’s methods have been used by A. Thanks in advance.


#2

It should happen automatically if you have "node" in your "plugins" in .tern-project or .tern-config.

Something like this:

{
    "plugins": {
	"node": {}
	}
}