{"id":21448137,"url":"https://github.com/ehsangazar/bundle-size-tracker","last_synced_at":"2025-03-17T02:09:35.160Z","repository":{"id":256912784,"uuid":"856799298","full_name":"ehsangazar/bundle-size-tracker","owner":"ehsangazar","description":"Bundle Size Tracker","archived":false,"fork":false,"pushed_at":"2024-09-13T15:02:11.000Z","size":114,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-23T11:45:41.457Z","etag":null,"topics":[],"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/ehsangazar.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-13T08:20:55.000Z","updated_at":"2024-09-13T15:02:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"54e1744e-4205-4025-a4e4-efe7594f86b3","html_url":"https://github.com/ehsangazar/bundle-size-tracker","commit_stats":null,"previous_names":["ehsangazar/bundle-size-tracker"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehsangazar%2Fbundle-size-tracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehsangazar%2Fbundle-size-tracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehsangazar%2Fbundle-size-tracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehsangazar%2Fbundle-size-tracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ehsangazar","download_url":"https://codeload.github.com/ehsangazar/bundle-size-tracker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243960665,"owners_count":20375104,"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":[],"created_at":"2024-11-23T03:14:12.475Z","updated_at":"2025-03-17T02:09:35.156Z","avatar_url":"https://github.com/ehsangazar.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bundle Size Tracker\n\n## Overview\n\nThe Bundle Size Tracker is an Express-based application designed to download JavaScript bundles from specified URLs, measure their sizes, and store this information in MongoDB. The application provides endpoints to trigger the bundling process and to retrieve historical bundle size data.\n\n## Features\n\n- **Fetch and Download Scripts:** Automatically fetch and download script files listed in an import map.\n- **Measure and Store Sizes:** Measure the sizes of downloaded scripts and store this data in MongoDB.\n- **Cleanup:** Periodically clean up old entries from the MongoDB collection based on a specified retention period.\n- **Serve Static Files:** Serve a React application’s static files.\n- **API Endpoints:**\n  - `/bundle` - Trigger the bundling process and save bundle sizes.\n  - `/analyser` - Retrieve historical bundle size data.\n\n## Prerequisites\n\n- [Node.js](https://nodejs.org/) (v14.x or later)\n- [MongoDB](https://www.mongodb.com/) (or a MongoDB Atlas account)\n- [npm](https://www.npmjs.com/) (Node Package Manager)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fehsangazar%2Fbundle-size-tracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fehsangazar%2Fbundle-size-tracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fehsangazar%2Fbundle-size-tracker/lists"}