Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WiseLibs/better-sqlite3
/ moduleExists
Function
moduleExists
benchmark/drivers.js:30–36 ·
view source on GitHub ↗
(moduleName)
Source
from the content-addressed store, hash-verified
28
]);
29
30
function
moduleExists(moduleName) {
31
try {
32
return
!!(require.resolve(moduleName));
33
} catch (_) {
34
return
false;
35
}
36
};
Callers
1
drivers.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected