scratch-vm/test/fixtures/extract.js

7 lines
155 B
JavaScript
Raw Normal View History

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