UNPKG
sqlite3
Version:
alpha (3.1.10-alpha)
latest (5.1.7)
5.1.7
5.1.7-rc.0
5.1.6
5.1.5
5.1.4
5.1.3
5.1.2
5.1.1
5.1.0
5.0.11
5.0.10
5.0.9
5.0.8
5.0.7
5.0.6
5.0.5
5.0.4
5.0.3
5.0.2
5.0.1
5.0.0
4.2.0
4.1.1
4.1.0
4.0.9
4.0.8
4.0.7
4.0.6
4.0.4
4.0.3
4.0.2
4.0.1
4.0.0
3.1.13
3.1.12
3.1.11
3.1.10
3.1.10-alpha
3.1.9
3.1.8
3.1.7
3.1.6
3.1.5
3.1.4
3.1.3
3.1.2
3.1.1
3.1.0
3.0.10
3.0.9
3.0.8
3.0.7
3.0.6
3.0.5
3.0.4
3.0.2
3.0.1
3.0.0
2.2.7
2.2.6
2.2.4
2.2.3
2.2.2
2.2.1
2.2.0
2.1.19
2.1.18
2.1.17
2.1.16
2.1.15
2.1.14
2.1.13
2.1.12
2.1.11
2.1.10
2.1.9
2.1.8
2.1.7
2.1.5
2.1.4
2.1.3
2.1.2
2.1.1
2.1.0
2.0.18
2.0.17
2.0.16
2.0.15
2.0.14
2.0.13
2.0.12
2.0.11
2.0.10
2.0.9
2.0.8
2.0.7
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
Asynchronous, non-blocking SQLite3 bindings
github.com/TryGhost/node-sqlite3
TryGhost/node-sqlite3
sqlite3
/
deps
/
extract.js
11 lines
(9 loc)
•
224 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
const
tar
=
require
(
"tar"
);
const
path
=
require
(
"path"
);
const
tarball
= path.
resolve
(process.argv[
2
]);
const
dirname
= path.
resolve
(process.argv[
3
]); tar.
extract
({
sync
:
true
,
file
: tarball,
cwd
: dirname, });