{"id":20011097,"url":"https://github.com/joelmarquez90/tiny-count","last_synced_at":"2025-05-04T20:30:55.355Z","repository":{"id":70234272,"uuid":"80562380","full_name":"joelmarquez90/tiny-count","owner":"joelmarquez90","description":"A node module that iterates recursively through a directory and compresses all the images with TinyPNG","archived":false,"fork":false,"pushed_at":"2018-10-30T20:53:45.000Z","size":31,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-23T09:51:28.938Z","etag":null,"topics":["compresses","javascript","node","npm-module","tinypng"],"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/joelmarquez90.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-01-31T21:07:16.000Z","updated_at":"2019-10-29T08:42:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"7c2ffe12-ed59-410d-94e2-88d5084228ca","html_url":"https://github.com/joelmarquez90/tiny-count","commit_stats":{"total_commits":45,"total_committers":2,"mean_commits":22.5,"dds":0.0444444444444444,"last_synced_commit":"f264a2fb89b7c44b4e6ef1b11fcf02b183eeca31"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joelmarquez90%2Ftiny-count","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joelmarquez90%2Ftiny-count/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joelmarquez90%2Ftiny-count/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joelmarquez90%2Ftiny-count/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joelmarquez90","download_url":"https://codeload.github.com/joelmarquez90/tiny-count/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252395203,"owners_count":21740986,"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":["compresses","javascript","node","npm-module","tinypng"],"created_at":"2024-11-13T07:24:25.855Z","updated_at":"2025-05-04T20:30:55.349Z","avatar_url":"https://github.com/joelmarquez90.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tiny-count\n\nA node module that iterates recursively through a directory and compresses all the images with TinyPNG\n\n![nodei.co](https://nodei.co/npm/tiny-count.png?downloads=true\u0026downloadRank=true\u0026stars=true)\n\n## Features\n\n - Compresses images from one directory using TinyPNG API\n\n## Install\n\n`npm install -g tiny-count`\n\n## Usage\n\nFirst you have to register in [TinyPNG](https://tinypng.com/) and get an API KEY. Then, you run this:\n\n`tiny-count -k \u003cTinyPNG API KEY\u003e -p /path/to/your/root/images/directory`\n\nBy default, it filters the files that aren't staged in git. If you want to force the replacement, use the `-f` or `--force` option.\n\nAnd you will have an output like this:\n\n```\nCompressing... [=====================         ] 82% 410/500\n\nSize       Description\n---------  -----------\n10.34 MB   Before     \n9.66 MB    After      \n698.16 KB  Difference\n```\n\n## Author\n\nJoel Márquez \u003c90joelmarquez@gmail.com\u003e http://github.com/joelmarquez90\n\n## License\n\n - **MIT** : http://opensource.org/licenses/MIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoelmarquez90%2Ftiny-count","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoelmarquez90%2Ftiny-count","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoelmarquez90%2Ftiny-count/lists"}