Display prefix

npm.commands.prefix(args, callback)

Print the prefix 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

Last modified June 02, 2015           Found a typo? Send a pull request!

Getting Started

Private Modules

Using npm

npm Enterprise

CLI Commands

Configuring npm

Using npm programmatically

npm policy documents

View All On One Page