https://github.com/l33t-c0d3r-66/dead-code-eliminator
A simple static JS Code analyzer
https://github.com/l33t-c0d3r-66/dead-code-eliminator
dead-code-elimination dead-code-removal javascript nodejs npm static-analysis
Last synced: 3 months ago
JSON representation
A simple static JS Code analyzer
- Host: GitHub
- URL: https://github.com/l33t-c0d3r-66/dead-code-eliminator
- Owner: l33t-c0d3r-66
- Created: 2023-11-05T12:12:47.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-11-14T16:24:26.000Z (over 1 year ago)
- Last Synced: 2025-01-09T15:57:41.071Z (4 months ago)
- Topics: dead-code-elimination, dead-code-removal, javascript, nodejs, npm, static-analysis
- Language: JavaScript
- Homepage:
- Size: 50.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dead-Code-Eliminator
HTML Code as well.
## How to use
Clone the Repository and execute `npm install` to install the libraries. \
Once 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 \
`npm run test` \
It will automatically remove the dead code from the provided script.js file. \
You can also run it on your project using `node eliminator -i /source-folder-path/source-file.js -o /destination-folder-path/output-file.js`
## Development