scratch-vm/test/fixtures/extract.js

7 lines
159 B
JavaScript
Raw Normal View History

const AdmZip = require('adm-zip');
2016-12-23 21:08:13 -05:00
module.exports = function (path) {
const zip = new AdmZip(path);
2016-12-23 21:08:13 -05:00
return zip.readAsText('project.json', 'utf8');
};