{"id":22059259,"url":"https://github.com/opentable/image-optimizer","last_synced_at":"2025-05-12T19:44:29.362Z","repository":{"id":66075962,"uuid":"81582634","full_name":"opentable/image-optimizer","owner":"opentable","description":"Smart image optimization","archived":false,"fork":false,"pushed_at":"2017-06-06T21:47:53.000Z","size":11,"stargazers_count":15,"open_issues_count":0,"forks_count":4,"subscribers_count":20,"default_branch":"master","last_synced_at":"2025-04-01T02:49:42.844Z","etag":null,"topics":["build-tool","compression","image","nodejs","optimization"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/opentable.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2017-02-10T16:16:40.000Z","updated_at":"2022-02-04T23:43:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"5e51dd94-c451-49ea-9185-30b3cd8d214e","html_url":"https://github.com/opentable/image-optimizer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opentable%2Fimage-optimizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opentable%2Fimage-optimizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opentable%2Fimage-optimizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opentable%2Fimage-optimizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opentable","download_url":"https://codeload.github.com/opentable/image-optimizer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253809768,"owners_count":21967794,"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":["build-tool","compression","image","nodejs","optimization"],"created_at":"2024-11-30T17:27:45.819Z","updated_at":"2025-05-12T19:44:29.355Z","avatar_url":"https://github.com/opentable.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Image-Optimizer\n\nIn today's media rich world websites tend to have a great deal of imagery. But it's easy to forgot about the user with slow internet connections that have to download these images!\n\nImage-Optimizer aims to solve this problem by:\n\n- Optimise images for web usage 🗜️\n- Easily integrating into your projects build pipeline ⚙️\n- Keeping track of what is optimised and what isn't 📖\n\n## Usage\n\n### Install\n```sh\nyarn add image-optimizer\n```\n\n### Integrate\n```javascript\nconst imageOptimizer = require('image-optimizer');\n\nimageOptimizer({\n  root: 'src/style/img', // The root directory for your images.\n  blacklist: []          // The list of directories/files not to optimize.\n}, (err, result) =\u003e {...});\n```\n\nOnce the optmization has taken place a ```__image-digest.json``` will be placed in the ```root``` directory.\n\n## Supported Formats\n\nAt the moment the following image formats are supported:\n\n- JPEG\n- PNG\n\n## Roadmap\n\n- Support custom config for different quality settings file \u0026 param based.\n- Support different compression algorithms ?\n- Provide a report of bytes saved...\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopentable%2Fimage-optimizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopentable%2Fimage-optimizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopentable%2Fimage-optimizer/lists"}