{"id":26343622,"url":"https://github.com/unocss-community/unocss-transformer-hash","last_synced_at":"2025-12-30T03:21:29.699Z","repository":{"id":261582647,"uuid":"884686029","full_name":"unocss-community/unocss-transformer-hash","owner":"unocss-community","description":"Hash UnoCSS utilities.","archived":false,"fork":false,"pushed_at":"2024-11-07T10:02:52.000Z","size":85,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-09T14:47:00.499Z","etag":null,"topics":["unocss-community"],"latest_commit_sha":null,"homepage":"","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/unocss-community.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":"2024-11-07T07:54:30.000Z","updated_at":"2025-02-12T08:04:44.000Z","dependencies_parsed_at":"2024-11-11T22:34:22.568Z","dependency_job_id":null,"html_url":"https://github.com/unocss-community/unocss-transformer-hash","commit_stats":null,"previous_names":["unpreset/unocss-transformer-hash","unocss-community/unocss-transformer-hash"],"tags_count":1,"template":false,"template_full_name":"unocss-community/unocss-transformer-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unocss-community%2Funocss-transformer-hash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unocss-community%2Funocss-transformer-hash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unocss-community%2Funocss-transformer-hash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unocss-community%2Funocss-transformer-hash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unocss-community","download_url":"https://codeload.github.com/unocss-community/unocss-transformer-hash/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243826790,"owners_count":20354220,"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":["unocss-community"],"created_at":"2025-03-16T05:02:49.000Z","updated_at":"2025-12-30T03:21:29.673Z","avatar_url":"https://github.com/unocss-community.png","language":"TypeScript","funding_links":[],"categories":["Community"],"sub_categories":["Transformers"],"readme":"\u003ch1 align=\"center\"\u003eunocss-transformer-hash\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003eA Unocss transformer hash template.\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca\u003e\n\u003cimg src=\"https://img.shields.io/npm/v/unocss-transformer-hash?style=flat\u0026colorA=080f12\u0026colorB=1fa669\" alt=\"npm version\" /\u003e\n\u003c/a\u003e\n\u003ca\u003e\n\u003cimg src=\"https://img.shields.io/npm/dm/unocss-transformer-hash?style=flat\u0026colorA=080f12\u0026colorB=1fa669\" alt=\"npm downloads\" /\u003e\n\u003c/a\u003e\n\u003ca\u003e\n\u003cimg src=\"https://img.shields.io/github/license/unpreset/unocss-transformer-hash.svg?style=flat\u0026colorA=080f12\u0026colorB=1fa669\" alt=\"License\" /\u003e\n\u003c/a\u003e\n\u003c/p\u003e\n\n## Install\n```shell\npnpm i -D unocss-transformer-hash\n```\n\n```ts\n// uno.config.ts\nimport { defineConfig } from 'unocss'\nimport transformerHash from 'unocss-transformer-hash'\n\nexport default defineConfig({\n  // ...\n  transformers: [\n    transformerHash({\n      // options\n    }),\n  ],\n})\n```\n\n## Usage\n\n```html\n\u003cdiv class=\"flex items-center justify-center hover:text-red\"\u003e\u003c/div\u003e\n```\n\nWill be transformed to:\n\n```html\n\u003cdiv class=\"222f 7155 a503 hover:5d96\"\u003e\u003c/div\u003e\n```\n\n## Options\n\n```ts\nexport interface TransformerHashOptions {\n  /**\n   * Custom hash function\n   */\n  hashfn?: (input: string) =\u003e string\n}\n```\n\n## License\n\nMIT License \u0026copy; 2023-PRESENT [Chris](https://github.com/zyyv)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funocss-community%2Funocss-transformer-hash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funocss-community%2Funocss-transformer-hash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funocss-community%2Funocss-transformer-hash/lists"}