recently I got to project where is this structure:
- app.js <- init script, which will start lib/index.js
- node_modules <- Modules fetched from npm
- lib
- index.js
- resources - some code for entities in system
- node_modules - local modules used in system (not from npm)
What do you think about using folder named node_modules for local code which is not fetched from npm?
The only plus is, that you don't have to work with relative paths when requesting module from resource..
Negative part is, that there are many scripts (jshint, nodemon, ..) which are ignoring these folders and also you have to permit this folder also in .gitignore