{"id":17214969,"url":"https://github.com/wilsson/postcss-url-versioner","last_synced_at":"2026-05-19T09:05:01.167Z","repository":{"id":57328657,"uuid":"94737632","full_name":"wilsson/postcss-url-versioner","owner":"wilsson","description":null,"archived":false,"fork":false,"pushed_at":"2017-06-23T03:47:02.000Z","size":87,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-02T06:00:58.839Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wilsson.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-19T04:51:04.000Z","updated_at":"2017-06-24T05:08:32.000Z","dependencies_parsed_at":"2022-09-12T09:33:11.586Z","dependency_job_id":null,"html_url":"https://github.com/wilsson/postcss-url-versioner","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wilsson/postcss-url-versioner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wilsson%2Fpostcss-url-versioner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wilsson%2Fpostcss-url-versioner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wilsson%2Fpostcss-url-versioner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wilsson%2Fpostcss-url-versioner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wilsson","download_url":"https://codeload.github.com/wilsson/postcss-url-versioner/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wilsson%2Fpostcss-url-versioner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33209441,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-19T07:54:09.561Z","status":"ssl_error","status_checked_at":"2026-05-19T07:54:08.508Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-10-15T03:22:43.752Z","updated_at":"2026-05-19T09:05:01.149Z","avatar_url":"https://github.com/wilsson.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PostCSS Url Versioner [![Build Status][ci-img]][ci]\n\n\u003cimg align=\"right\" width=\"95\" height=\"95\"\n     title=\"Philosopher’s stone, logo of PostCSS\"\n     src=\"http://postcss.github.io/postcss/logo.svg\"\u003e\n     \n[PostCSS] plugin url versioner.\n\n[json-last-commit]: https://github.com/wilsson/json-last-commit\n[PostCSS]: https://github.com/postcss/postcss\n[ci-img]:  https://travis-ci.org/wilsson/postcss-url-versioner.svg\n[ci]:      https://travis-ci.org/wilsson/postcss-url-versioner\n\n```css\n/* Input example */\n@font-face {\n  font-family: 'MyWebFont';\n  src: url('webfont.eot');\n  src: url('webfont.eot?#iefix') format('embedded-opentype'),\n       url('webfont.woff2') format('woff2'),\n       url('webfont.woff') format('woff'),\n       url('webfont.ttf')  format('truetype'),\n       url('webfont.svg#svgFontName') format('svg');\n}\n\n.myImage{\n\tbackground-image: url(\"/public/img/other/image3.png\");\n}\n```\n\n```css\n/* Output example */\n@font-face {\n  font-family: 'MyWebFont';\n  src: url(\"webfont.eot?v=46cecf7\");\n  src: url(\"webfont.eot??v=46cecf7#iefix\") format('embedded-opentype'),\n       url(\"webfont.woff2?v=46cecf7\") format('woff2'),\n       url(\"webfont.woff?v=46cecf7\") format('woff'), \n       url(\"webfont.svg?v=46cecf7#svgFontName\") format('svg');\n}\n\n.myImage{\n\tbackground-image: url(\"/public/img/other/image3.png?v=46cecf7\");\n}\n```\n\n## Usage\n\n```js\npostcss([ require('postcss-url-versioner') ])\n```\n\n## Options\n\n```js\npostcss([ \n  require('postcss-url-versioner')({ \n    variable: 'version',\n    version: Math.random()\n  })\n])\n```\n\n## Default Options\n\n```js\n{\n\tvariable: \"v\",\n\tlastCommit: \"46cecf7\"\n}\n```\n\nBy default it takes abbreviated commit hash generated by [json-last-commit].\n\nIf you want to place your own version use `version` property.\n\nSee [PostCSS] docs for examples for your environment.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilsson%2Fpostcss-url-versioner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwilsson%2Fpostcss-url-versioner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilsson%2Fpostcss-url-versioner/lists"}