UNPKG
mysql2-import
Version:
latest (5.0.22)
5.0.22
5.0.21
Import .sql into a MySQL database with Node.
github.com/mar0xy/mysql2-import
mar0xy/mysql2-import
mysql2-import
/
src
/
header.js
7 lines
(5 loc)
•
138 B
JavaScript
View Raw
1
2
3
4
5
6
7
'use strict'
;
const
mysql =
require
(
'mysql2'
);
const
fs =
require
(
'fs'
);
const
path =
require
(
"path"
);
const
stream =
require
(
'stream'
);