SysTutorials

Linux Manual Pages › Section 3

npm-root(3)

npm-root — Display npm root

Synopsis

npm.commands.root(args, callback)

Description

Print the effective node_modules folder to standard out. ‘args’ is never used and callback is never called with data. ‘args’ must be present or things will break. This function is not useful programmatically.