Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 747 Bytes

README.md

File metadata and controls

39 lines (27 loc) · 747 Bytes

ipa-extract-info

Extract the Info.plist from an IPA, in node.js and the browser!

Node

var fs = require('fs');
var extract = require('ipa-extract-info');

var fd = fs.openSync(__dirname + '/Snapchat.ipa', 'r');

extract(fd, function(err, info, raw){
  if (err) throw err;
  console.log(info); // the parsed plist
  console.log(raw);  // the unparsed plist
});

Browser

var extract = require('ipa-extract-info');
var input = document.querySelector('input');

input.addEventListener('change', function(){
  extract(input.files[0], function(err, info, raw){
    if (err) throw err;
    console.log('info', info); // the parsed plist
    console.log('raw', raw);   // the unparsed plist
  });
});

License

MIT