Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

extract-pkg

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

extract-pkg

Extract .app, .apk from iOS simulator or Android emulator

  • 1.2.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

extract-pkg · npm Build Status MIT license JavaScript Style Guide

Extract app package from iOS simulator or Android emulator. You must check 2 things before running the command.

  • Simulator or emulator should be running
  • The package file(.app or .apk) should be already installed

Installation

$ npm install extract-pkg -g # or --save-dev

Usage

$ extract-pkg # or --help, display usage

If did not add --to or -d, the command will use same path where command executed.

$ extract-pkg ios --id=com.some.pkg

If did not add --rename or -n, the command will be using same as original package file name.

$ extract-pkg android --id=com.some.pkg --rename=app-debug.apk

Support .js or JSON

{
  "ios": {
    "id": "com.awesome.ios",
    "to": "/path/to"
  },
  "android": {
    "id": "com.awesome.android",
    "to": "/path/to"
  }
}
$ extract-pkg android --config=/path/to/config.json

or,

module.exports = {
  ios: {
    id: 'com.awesome.ios',
    to: '/path/to'
  },
  android: {
    id: 'com.awesome.android',
    to: '/path/to'
  }
}
$ extract-pkg ios --config=/path/to/config.js

However, if you use —id with —config, even id value in JSON file exist, it will be ignored.

$ extract-pkg android --config=/path/to/config.json --id=com.use.this

License

MIT

Keywords

FAQs

Package last updated on 09 May 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc