This file is indexed.

/usr/share/doc/npm/README.Debian is in npm 3.5.2-0ubuntu4.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
npm for Debian
==============

nodejs Debian package provides /usr/bin/nodejs
----------------------------------------------

Modules installed by npm can ship executables.
These executables depend on /usr/bin/node, which is
provided by the nodejs-legacy Debian package.

More information:
/usr/share/doc/nodejs/README.Debian


global mode npm
---------------

When run in global mode, npm is configured like this :

	prefix=/usr/local
	globalconfig=/etc/npmrc
	globalignorefile=/etc/npmignore

That means npm -g install mymodule will be installed in :

	/usr/local/lib/node_modules/

If mymodule installs executables, they go to :

	/usr/local/bin

And man pages to

	/usr/local/share/man

Please read npm-config(1), npm-folders(1) and npm-link(1) man pages.

This global configuration is kept across a global self update of npm.
It is not guaranteed it will stay like this, so it's safer to update
npm debian package instead.


do not confuse with /usr/lib/nodejs
-----------------------------------

/usr/lib/nodejs directory is reserved for modules that are provided by a
debian package.


 -- Jérémy Lal <kapouer@melix.org>  Fri, 28 Jan 2011 00:33:28 +0200