{"id":16188184,"url":"https://github.com/pakastin/prefix","last_synced_at":"2025-06-21T15:04:02.686Z","repository":{"id":15504380,"uuid":"78277044","full_name":"pakastin/prefix","owner":"pakastin","description":"CSS auto-prefix in \u003c 0.5 KB","archived":false,"fork":false,"pushed_at":"2022-04-28T18:46:33.000Z","size":53,"stargazers_count":20,"open_issues_count":3,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T14:47:35.639Z","etag":null,"topics":["css","javascript","prefix"],"latest_commit_sha":null,"homepage":"","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/pakastin.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}},"created_at":"2017-01-07T12:13:05.000Z","updated_at":"2023-04-17T18:27:42.000Z","dependencies_parsed_at":"2022-08-07T08:01:09.780Z","dependency_job_id":null,"html_url":"https://github.com/pakastin/prefix","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pakastin%2Fprefix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pakastin%2Fprefix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pakastin%2Fprefix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pakastin%2Fprefix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pakastin","download_url":"https://codeload.github.com/pakastin/prefix/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243965752,"owners_count":20375917,"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":["css","javascript","prefix"],"created_at":"2024-10-10T07:25:23.141Z","updated_at":"2025-03-19T03:30:38.876Z","avatar_url":"https://github.com/pakastin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![js-semistandard-style](https://img.shields.io/badge/code%20style-semistandard-brightgreen.svg?maxAge=3600\u0026style=flat-square)](https://github.com/Flet/semistandard)\n[![npm](https://img.shields.io/npm/v/@pakastin/prefix.svg?maxAge=60\u0026style=flat-square)](https://www.npmjs.com/package/@pakastin/prefix)\n[![Twitter Follow](https://img.shields.io/twitter/follow/pakastin.svg?style=social\u0026maxAge=3600)](https://twitter.com/pakastin)\n\n# prefix\nCSS auto-prefix in \u003c 0.5 KB (before GZIP)\n\n## install\n\n    npm install @pakastin/prefix\n    \n## usage\n\n```js\nimport prefix from '@pakastin/prefix';\n\nconst TRANSFORM = prefix('transform');\nconst TRANSITION = prefix('transition');\n\nconst translate = (x, y) =\u003e `translate(${x}px, ${y}px)`;\n\nconst el = document.createElement('p');\n\nel.style[TRANSITION] = `${TRANSFORM} .2s`;\nel.style[TRANSFORM] = translate(100, 0);\n```\n\n## oldskool\n```html\n\u003cscript src=\"https://pakastin.github.io/prefix/prefix.min.js\"\u003e\u003c/script\u003e\n\u003cscript\u003eprefix(...)\u003c/script\u003e\n```\n\n## License\n[MIT](https://github.com/pakastin/prefix/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpakastin%2Fprefix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpakastin%2Fprefix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpakastin%2Fprefix/lists"}