UNPKG
node-pokemon
Version:
latest (0.0.7)
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Pokemon Go API
github.com/BurakDev/node-pokemon
BurakDev/node-pokemon
node-pokemon
/
index.js
9 lines
(7 loc)
•
248 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
var
fs =
require
(
'fs'
);
try
{ fs.
accessSync
(__dirname +
'/build/PokemonGo.js'
);
module
.
exports
=
require
(__dirname +
'/build/PokemonGo.js'
).
default
; }
catch
(e) {
console
.
log
(
"Please build the project ! (using TypeScript compiler)"
); }