UNPKG
fide-chess
Version:
latest (0.1.9)
0.1.9
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
"Scraper for FIDE website"
github.com/theLAZYmd/fide-chess
theLAZYmd/fide-chess
fide-chess
/
tests
/
test1.js
11 lines
(8 loc)
•
224 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
const
FIDE
=
require
(
'../lib/index.js'
).
default
;
class
Tests
{
static
async
search
(
id
) {
let
res =
await
FIDE
.
search
(id);
console
.
log
(
JSON
.
stringify
(res,
null
,
4
)); } }
Tests
.
search
(process.
argv
.
slice
(
2
).
join
(
' '
));