Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jokeyrhyme/unused-static-assets.js
compare logs to local folder and identify unused assets
https://github.com/jokeyrhyme/unused-static-assets.js
Last synced: 21 days ago
JSON representation
compare logs to local folder and identify unused assets
- Host: GitHub
- URL: https://github.com/jokeyrhyme/unused-static-assets.js
- Owner: jokeyrhyme
- License: bsd-2-clause
- Created: 2015-06-11T23:47:35.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-16T04:22:35.000Z (almost 8 years ago)
- Last Synced: 2024-10-14T21:23:52.308Z (25 days ago)
- Language: JavaScript
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# unused-static-assets.js
compare logs to local folder and identify unused assets
## What is this?
I just whipped this up to analyse AWS Cloudfront access logs and compare them
to a local directory of assets. The idea was to establish which files were no
longer in use, so that I could remove them.## Usage
```shell
cd local/asset/folder/to/audit
node path/to/this/project path/to/access/logs
```