socketstream/socketstream — Issue #134: Use require.resolve() to detect missing modules
Author: nponeccop
Created: 2012-02-08 07:05:06+00:00
State: open

http://nodejs.org/docs/latest/api/globals.html#require.resolve

The function throws an error if a module cannot be found. If it can find the module file, it returns a string even if the module contains errors.