UNPKG
@infect/api
Version:
latest (4.2.2)
4.2.2
4.2.1
4.2.0
4.1.4
4.1.3
4.1.1
4.1.0
4.0.2
4.0.1
4.0.0
3.1.4
3.1.3
3.1.2
3.1.1
3.1.0
3.0.3
3.0.2
3.0.1
3.0.0
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.0
infect 2.0 api
github.com/infect-org/api
infect-org/api
@infect/api
/
tools
/
import-resistance-data.js
12 lines
(7 loc)
•
209 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
'use strict'
;
import
Importer
from
'./lib/CSVImporter.js'
;
import
log
from
'ee-log'
;
const
importer =
new
Importer
(); importer.
import
().
then
(
() =>
{ log.
success
(
'data update complete!'
) }).
catch
(log);