mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-12-26 12:56:19 +08:00
10 lines
258 B
JavaScript
10 lines
258 B
JavaScript
|
const unzipper = require('./unzip');
|
||
|
|
||
|
async function main() {
|
||
|
const zip = await unzipper.Open.file('./scorm-file-test.zip');
|
||
|
|
||
|
await zip.extract({path:'/home/zjonsson/git/node-unzipper/tmp'});
|
||
|
console.log('done');
|
||
|
}
|
||
|
|
||
|
main().then(console.log,console.log)
|