Get NodeJS interpreter

Answered

My plugin uses npm as part of its logic. I prefer to use the npm configured in 'Preferences' --> 'NodeJS and npm' --> 'Node interpreter'.

How can I get this value?

Thanks.

1 comment
Comment actions Permalink

com.intellij.javascript.nodejs.interpreter.NodeJsInterpreterManager#getInterpreter = Node.js interpreter
com.intellij.javascript.nodejs.npm.NpmManager#getPackage() for getting "Package manager" 

0

Please sign in to leave a comment.