/usr/share/doc/nodejs/README.Debian is in nodejs 8.10.0~dfsg-2.
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 | nodejs for Debian
=================
packaged modules
----------------
The global search path for modules is
/usr/lib/nodejs
Future packages of node modules will use that directory,
so it should be used wisely.
user modules
------------
Node looks for modules in ./node_modules directory first;
please read node#modules documentation carefully for more information.
Node does not look for modules in /usr/local/lib/node_modules,
where npm put them.
Please read npm-link(1) of npm package, to understand how to properly
use npm-installed modules in a project.
Note that require.paths is not supported in future node versions.
See also node(1) for more information about NODE_PATH.
|