{"id":16492802,"url":"https://github.com/ixlei/tinypng-loader","last_synced_at":"2026-05-13T04:36:24.833Z","repository":{"id":107434900,"uuid":"136730253","full_name":"ixlei/tinypng-loader","owner":"ixlei","description":null,"archived":false,"fork":false,"pushed_at":"2018-06-13T11:58:34.000Z","size":471,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-12T12:51:52.545Z","etag":null,"topics":["loader","tinypng","webpack"],"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/ixlei.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":"2018-06-09T14:27:51.000Z","updated_at":"2018-06-13T12:01:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"b3dfd316-95a5-46cb-8756-e62a8f93e1ad","html_url":"https://github.com/ixlei/tinypng-loader","commit_stats":{"total_commits":16,"total_committers":1,"mean_commits":16.0,"dds":0.0,"last_synced_commit":"a9f03bf3db0d3278a6ee9741e4144a04c931c645"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ixlei%2Ftinypng-loader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ixlei%2Ftinypng-loader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ixlei%2Ftinypng-loader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ixlei%2Ftinypng-loader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ixlei","download_url":"https://codeload.github.com/ixlei/tinypng-loader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241329448,"owners_count":19944982,"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":["loader","tinypng","webpack"],"created_at":"2024-10-11T14:07:17.361Z","updated_at":"2026-05-13T04:36:24.794Z","avatar_url":"https://github.com/ixlei.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003etinypng-webpack-loader\u003c/h1\u003e\n\n\u003ch2 align=\"center\"\u003eInstall\u003c/h2\u003e\n\n```bash\nnpm install --save-dev tinypng-webpack-loader\n```\n\n\u003ch2 align=\"center\"\u003eUsage\u003c/h2\u003e\n\nCompress images size is a good way to improve page load speed,as the png format images, we can use [Tinypng](https://tinypng.com/) reduce the images size.  \n`tinypng-webpack-loader` is a webpack loader help to reduce your png images size.\nconfig as follows:\n\n**webpack.config.js**\n```javascript\n  {\n    test: /\\.(jpeg|png)$/,\n    use: [\n        // ...\n        {\n            loader: 'tinypng-webpack-loader',\n            options: {\n                proxy: /**http:your.proxy.com:port*/,\n                cachePath: /**cache path*/,\n                keys: [/**your tinypng key*/]\n            }\n        }\n    ]\n}\n```\n\n\u003ch2 align=\"center\"\u003eOptions\u003c/h2\u003e\n\nAllowed values are as follows\n\n|Name|Type|Default|Description|\n|:--:|:--:|:-----:|:----------|\n|**[`proxy`](#)**|`{String}`|``|the request to tinypng proxy|\n|**[`cachePath`](#)**|`{String}`|``|cache the tinypng reduce result|\n|**[`keys`](#)**|`{Array\u003cString\u003e}`||available keys list|\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fixlei%2Ftinypng-loader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fixlei%2Ftinypng-loader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fixlei%2Ftinypng-loader/lists"}