A web application to parse and present the contents of the Debian dpkg package information file in a user-friendly manner.
No external dependencies required.
- app.js - main software logic, back-end functionality
- index.html - data presentation / DOM manipulation, parses data dynamically for the front-end
- app.css - style definitions
- README.md - this file
- Debian-based system
- Node.js (latest LTS version is fine)
- Existing /var/lib/dpkg/status file
- Clone the repository / copy included files into a directory.
- Start web server from said directory with 'node app.js'.
- Open browser at 'localhost:8080'.
none
-
bloated app.js - all major back-end functions are located in one file.
-
bloated index.html - Javascript functions are located between the <script> tags.
-
missing error handling and input validation - the program assumes a friendly user providing valid data