npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

recover-rn

v3.0.1

Published

Ferramenta CLI para recuperar código e assets de apps React Native a partir de APK

Downloads

11

Readme

RN APK Recovery CLI

alt text


Sumário


Features

  • Interactive Interface: A user-friendly menu guides you through all recovery options.
  • Modular Tools: Choose from a variety of recovery modules:
    • Basic Extraction (Unzip): Quickly extracts files from the APK.
    • Advanced Decompilation (APKTool): Disassembles the APK into a readable file structure.
    • JavaScript Beautifier: Formats the JavaScript bundle to improve readability.
    • Bundle Analysis: Detects libraries and provides statistics about the JS bundle.
    • Asset Extraction: Copies all application assets (images, fonts, icons).
    • Bundle Visualizer: Runs react-native-bundle-visualizer for a graphical analysis.
  • Customizable Process: Run a full analysis with a single command or select only the tools you need.
  • Detailed Reports: Generates a final Markdown report summarizing the process, created directories, and recommendations.
  • Dependency Check: Automatically verifies if required tools (like unzip and apktool) are installed.

Installation

To use this tool, you will need Node.js (version 16 or higher) and unzip installed on your system.

The recommended method is to use npx, which runs the package without needing a global installation.

# Run without installing
npx recover-rn

Alternatively, you can install it globally using npm:

# Install globally via NPM
npm install -g recover-rn

Getting Started

To get started, simply run the command in your terminal. The tool will launch and prompt you for the path to the .apk file you want to analyze.

recover-rn

The script will then guide you through an interactive menu where you can select the desired recovery options.


Usage

After providing the path to your APK, you will be presented with a menu of recovery options. You can choose to run a full analysis, which is the recommended option for a comprehensive overview, or select specific tasks like extracting assets or beautifying the JavaScript bundle.

The tool will create a set of directories prefixed with the name of your APK, each containing the output of the selected recovery modules.

Roadmap (Next Steps)

This tool is actively being developed. Here are some of the features planned for future releases:

  • IPA File Support: Add support for recovering source code from iOS application archives.
  • Automatic Project Scaffolding: Create a new React Native project structure based on the recovered bundle and dependencies.
  • Source Map Integration: If a source map is found, use it to reconstruct a more accurate and readable version of the original source code.
  • Graphical User Interface (GUI): Develop a desktop application to make the recovery process even more accessible.

How to Contribute

Contributions are highly welcome! If you have ideas for new features, improvements, or bug fixes, please feel free to open an issue or submit a pull request.

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/your-feature).
  3. Make your changes.
  4. Commit your changes (git commit -m 'Add some feature').
  5. Push to the branch (git push origin feature/your-feature).
  6. Open a Pull Request.

License

This project is distributed under the MIT License.