{"id":29927821,"url":"https://github.com/kitsonk/svg-minify","last_synced_at":"2025-08-02T13:49:04.239Z","repository":{"id":302173142,"uuid":"872182671","full_name":"kitsonk/svg-minify","owner":"kitsonk","description":"A Fresh plugin to minify an SVG file as part of a build.","archived":false,"fork":false,"pushed_at":"2025-06-30T23:55:30.000Z","size":5,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-01T00:38:06.993Z","etag":null,"topics":["deno","fresh","plugin","svg","svgo"],"latest_commit_sha":null,"homepage":"https://jsr.io/@kitsonk/svg-minify","language":"TypeScript","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/kitsonk.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,"zenodo":null}},"created_at":"2024-10-14T01:24:54.000Z","updated_at":"2025-06-30T23:55:34.000Z","dependencies_parsed_at":"2025-07-01T00:38:11.759Z","dependency_job_id":"85bcf1b9-7b4f-408c-9996-914d6e812cd4","html_url":"https://github.com/kitsonk/svg-minify","commit_stats":null,"previous_names":["kitsonk/svg-minify"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kitsonk/svg-minify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitsonk%2Fsvg-minify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitsonk%2Fsvg-minify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitsonk%2Fsvg-minify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitsonk%2Fsvg-minify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kitsonk","download_url":"https://codeload.github.com/kitsonk/svg-minify/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitsonk%2Fsvg-minify/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268400782,"owners_count":24244450,"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","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["deno","fresh","plugin","svg","svgo"],"created_at":"2025-08-02T13:49:00.122Z","updated_at":"2025-08-02T13:49:04.194Z","avatar_url":"https://github.com/kitsonk.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# svg-minify\n\nA Fresh plugin that minifies SVG using SVGO as part of the build process.\n\nIt specifically is designed to minify an SVG file of sprites, but can be used to\nminify any SVG file.\n\nThe plugin will read the SVG file, minify it using SVGO, and write the minified\nSVG file to the build output directory. It defaults to reading\n`./static/sprites.svg` and writing to `./static/sprites.svg` in the build path\n(which defaults to `./_fresh` in Fresh), but these can be configured via the\noptions.\n\n## Minify an SVG file of sprites.\n\n```ts\nimport { defineConfig } from \"$fresh/server.ts\";\nimport tailwind from \"$fresh/plugins/tailwind.ts\";\nimport svgMinify from \"jsr:@kitsonk/svg-minify\";\n\nexport default defineConfig({\n  plugins: [tailwind(), svgMinify()],\n});\n```\n\n---\n\nCopyright 2024 Kitson P. Kelly. All rights reserved. MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkitsonk%2Fsvg-minify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkitsonk%2Fsvg-minify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkitsonk%2Fsvg-minify/lists"}