ipa-extract-info

1.2.6 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i ipa-extract-info

Weekly Downloads

91

Version

1.2.6

License

MIT

Unpacked Size

5.92 kB

Total Files

6

Last publish

Collaborators

  • juliangruber
  • dweinstein
  • nowsecure