ipa-extract-info

Extract the Info.Plist from an IPA

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
ipa-extract-info
3751.2.63 years ago9 years agoMinified + gzip package size for ipa-extract-info in KB

Readme

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