{"id":16654686,"url":"https://github.com/nickw444/rn-debundle","last_synced_at":"2025-04-09T18:12:02.593Z","repository":{"id":52204576,"uuid":"219098823","full_name":"nickw444/rn-debundle","owner":"nickw444","description":"A very basic debundler for Javascript bundles compiled with React Native's bundler","archived":false,"fork":false,"pushed_at":"2021-05-05T09:59:47.000Z","size":22,"stargazers_count":27,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-07T00:42:18.638Z","etag":null,"topics":["debundle","react","react-native","reverse-engineering"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nickw444.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-11-02T03:36:45.000Z","updated_at":"2024-07-30T01:31:00.000Z","dependencies_parsed_at":"2022-08-29T23:30:48.945Z","dependency_job_id":null,"html_url":"https://github.com/nickw444/rn-debundle","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickw444%2Frn-debundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickw444%2Frn-debundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickw444%2Frn-debundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickw444%2Frn-debundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nickw444","download_url":"https://codeload.github.com/nickw444/rn-debundle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248085326,"owners_count":21045139,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["debundle","react","react-native","reverse-engineering"],"created_at":"2024-10-12T09:50:39.137Z","updated_at":"2025-04-09T18:12:02.565Z","avatar_url":"https://github.com/nickw444.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## rn-debundle\n\nA _very_ basic debundler for Javascript bundles compiled with React Native's bundler. \n\nDebundles a large React Native bundle by walking the compiled AST and extracts individual module declarations and \nwrites them to their own modules \u0026 attempts to resolve dependeny import relationships.\n\n### Install\n```sh\nnpm install -g rn-debundle\n```\n\n### Usage\n\n```sh\nrn-debundle main.jsbundle ./my-output-dir\n```\n\n### Demo\n \n**Input**\n```js\n__d(function() {\n  \"use strict\";\n}, 0, []);\n__d(function(v) {\n  \"use strict\";\n}, 1, [0]);\n\nvar a = \"foo bar baz\";\n```\n\n**Output**\n\n`main.js`\n```js\nvar a = 'foo bar baz';\n```\n\n`mod_0.js`\n```\n'use strict';\n```\n\n`mod_1.js`\n```\nimport v from './mod_0';\n'use strict';\n```\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickw444%2Frn-debundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnickw444%2Frn-debundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickw444%2Frn-debundle/lists"}