UNPKG
simdjson
Version:
latest (0.9.2)
0.9.2
0.5.0
0.4.7
0.3.10
0.3.4
0.3.3
0.3.2
0.3.1
0.2.93
0.2.91
0.2.9
0.2.1
0.2.0
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Parsing gigabytes of JSON per second
github.com/luizperes/simdjson_nodejs
luizperes/simdjson_nodejs
simdjson
/
lib
/
moduleexists.js
8 lines
•
168 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
function
moduleExists
(
modulePath
) {
try
{
return
!!
require
.
resolve
(modulePath) }
catch
(e) {
return
false
} }
module
.
exports
= moduleExists;