UNPKG
@amory/jpeg-archive-bin
Version:
latest (2018.5.19-1)
2018.5.19-1
2018.5.19-0
2018.5.18-2
2018.5.18-1
2018.5.18-0
2018.5.17-1
2018.5.17-0
2018.5.16-3
2018.5.16-2
2018.5.16-1
2018.5.16-0
2018.5.15-4
2018.5.15-3
2018.5.15-2
2018.5.15-1
2018.5.15-0
2018.5.14-5
2018.5.14-4
2018.5.14-3
2018.5.14-2
2018.5.14-1
2018.5.14-0
2018.5.13-6
2018.5.13-5
2018.5.13-4
2018.5.13-3
2018.5.13-2
2018.5.13-1
2018.5.13-0
2018.5.12-0
2018.5.11-7
2018.5.11-6
2018.5.11-5
2018.5.11-4
2018.5.11-3
2018.5.11-2
2018.5.10-1
2018.5.10-0
2018.5.6-14
2018.5.6-13
2018.5.6-12
2018.5.6-11
2018.5.6-10
2018.5.6-9
2018.5.6-8
2018.5.6-7
2018.5.6-6
2018.5.6-5
2018.5.6-4
2018.5.6-3
2018.5.6-2
2018.5.6-1
2018.5.6-0
2018.5.5-2
2018.5.5-1
2018.5.5-0
jpeg-archive wrappers to make them seamlessly available as local dependencies
ptb/amory
@amory/jpeg-archive-bin
/
lib
/
install.js
11 lines
(9 loc)
•
284 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
const
log =
require
(
"logalot"
)
const
{ compare, hash, recompress } =
require
(
"."
); [compare, hash, recompress].
map
(
(
util
) =>
util.
run
([
"--version"
],
(
err
) =>
(err ? log.
error
(err.
stack
) : log.
success
(
`
${util._use}
pre-build test passed successfully`
)) ) )