{"id":19633529,"url":"https://github.com/l33t-c0d3r-66/dead-code-eliminator","last_synced_at":"2026-04-14T00:04:05.673Z","repository":{"id":205606279,"uuid":"714619867","full_name":"l33t-c0d3r-66/Dead-Code-Eliminator","owner":"l33t-c0d3r-66","description":"A simple static JS Code analyzer","archived":false,"fork":false,"pushed_at":"2023-11-14T16:24:26.000Z","size":52,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-26T21:24:03.860Z","etag":null,"topics":["dead-code-elimination","dead-code-removal","javascript","nodejs","npm","static-analysis"],"latest_commit_sha":null,"homepage":"","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/l33t-c0d3r-66.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,"governance":null}},"created_at":"2023-11-05T12:12:47.000Z","updated_at":"2023-11-07T15:06:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"48e3c77e-d1fc-4aa1-9644-0b65b382258e","html_url":"https://github.com/l33t-c0d3r-66/Dead-Code-Eliminator","commit_stats":null,"previous_names":["l33t-c0d3r-66/dead-code-eliminator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/l33t-c0d3r-66/Dead-Code-Eliminator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l33t-c0d3r-66%2FDead-Code-Eliminator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l33t-c0d3r-66%2FDead-Code-Eliminator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l33t-c0d3r-66%2FDead-Code-Eliminator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l33t-c0d3r-66%2FDead-Code-Eliminator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/l33t-c0d3r-66","download_url":"https://codeload.github.com/l33t-c0d3r-66/Dead-Code-Eliminator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l33t-c0d3r-66%2FDead-Code-Eliminator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265002538,"owners_count":23696075,"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":["dead-code-elimination","dead-code-removal","javascript","nodejs","npm","static-analysis"],"created_at":"2024-11-11T12:17:38.152Z","updated_at":"2026-04-14T00:04:05.645Z","avatar_url":"https://github.com/l33t-c0d3r-66.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dead-Code-Eliminator\n\u003cli\u003e Dead Code Eliminator is a Static Javascript Code analyzer which remove the unused javascript code and create a new file \u003c/li\u003e\n\u003cli\u003e This project is for the Learning purposes \u003c/li\u003e\n\u003cli\u003e This project is only analyzing JS Files and Removing Unused Functions (Simple Functions and Arrow Function) from single javascript file\u003c/li\u003e\n\u003cli\u003e This Project can be extended to work on Multiple JS Files and Traverse HTML Code to identify JS functions used in\n HTML Code as well. \u003c/li\u003e\n\u003cli\u003e This Project is inspired from Lucana https://github.com/Lacuna-JDCE/Lacuna\u003c/li\u003e\n\n## How to use\nClone the Repository and execute `npm install` to install the libraries. \\\nOnce you have installed all the dependencies then you just need to place your Javascript File inside the `example` directory with name `script.js` and execute \\\n`npm run test` \\\nIt will automatically remove the dead code from the provided script.js file. \\\nYou can also run it on your project using `node eliminator -i /source-folder-path/source-file.js -o /destination-folder-path/output-file.js` \n\n## Development\n\u003cli\u003e This is a very basic version of Javascript Dead Code Removal\u003c/li\u003e\n\u003cli\u003e Feel free to contribute to this project \u003c/li\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fl33t-c0d3r-66%2Fdead-code-eliminator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fl33t-c0d3r-66%2Fdead-code-eliminator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fl33t-c0d3r-66%2Fdead-code-eliminator/lists"}