{"id":14968117,"url":"https://github.com/postcss/postcss-easings","last_synced_at":"2025-04-04T10:09:26.695Z","repository":{"id":26982434,"uuid":"30446154","full_name":"postcss/postcss-easings","owner":"postcss","description":"PostCSS plugin to replace easing names to cubic-bezier()","archived":false,"fork":false,"pushed_at":"2024-07-18T14:18:16.000Z","size":478,"stargazers_count":151,"open_issues_count":0,"forks_count":7,"subscribers_count":9,"default_branch":"main","last_synced_at":"2024-10-29T13:50:05.555Z","etag":null,"topics":[],"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/postcss.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"open_collective":"postcss","github":"ai"}},"created_at":"2015-02-07T05:22:15.000Z","updated_at":"2024-10-24T05:57:23.000Z","dependencies_parsed_at":"2022-07-27T09:02:46.055Z","dependency_job_id":"7c64eefb-99c0-49df-88a6-baf80982221f","html_url":"https://github.com/postcss/postcss-easings","commit_stats":{"total_commits":94,"total_committers":6,"mean_commits":"15.666666666666666","dds":0.2872340425531915,"last_synced_commit":"bd001e36b4108c999b528a1c34c7427f9f05c8f0"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postcss%2Fpostcss-easings","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postcss%2Fpostcss-easings/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postcss%2Fpostcss-easings/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postcss%2Fpostcss-easings/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/postcss","download_url":"https://codeload.github.com/postcss/postcss-easings/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247157283,"owners_count":20893220,"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":[],"created_at":"2024-09-24T13:39:19.517Z","updated_at":"2025-04-04T10:09:26.663Z","avatar_url":"https://github.com/postcss.png","language":"JavaScript","readme":"# PostCSS Easings\n\n\u003cimg align=\"right\" width=\"135\" height=\"95\"\n     title=\"Philosopher’s stone, logo of PostCSS\"\n     src=\"https://postcss.org/logo-leftp.svg\"\u003e\n\n[PostCSS] plugin to replace easing name from [easings.net] to `cubic-bezier()`.\n\n[easings.net]: http://easings.net/\n[PostCSS]:     https://github.com/postcss/postcss\n\n```css\n.snake {\n  transition: all 600ms ease-in-sine;\n}\n.camel {\n  transition: all 600ms easeInSine;\n}\n```\n\n```css\n.snake {\n  transition: all 600ms cubic-bezier(0.47, 0, 0.745, 0.715);\n}\n.camel {\n  transition: all 600ms cubic-bezier(0.47, 0, 0.745, 0.715);\n}\n```\n\n\u003ca href=\"https://evilmartians.com/?utm_source=postcss-easings\"\u003e\n  \u003cimg src=\"https://evilmartians.com/badges/sponsored-by-evil-martians.svg\"\n       alt=\"Sponsored by Evil Martians\" width=\"236\" height=\"54\"\u003e\n\u003c/a\u003e\n\n\n## Usage\n\n**Step 1:** Install plugin:\n\n```sh\nnpm install --save-dev postcss postcss-easings\n```\n\n**Step 2:** Check your project for existed PostCSS config: `postcss.config.js`\nin the project root, `\"postcss\"` section in `package.json`\nor `postcss` in bundle config.\n\nIf you do not use PostCSS, add it according to [official docs]\nand set this plugin in settings.\n\n**Step 3:** Add the plugin to plugins list:\n\n```diff\nmodule.exports = {\n  plugins: [\n+   require('postcss-easings'),\n    require('autoprefixer')\n  ]\n}\n```\n\n[official docs]: https://github.com/postcss/postcss#usage\n\nAlso, you can get all built-in easings:\n\n```js\nrequire('postcss-easings').easings;\n```\n\n\n## Options\n\n### `easings`\n\nAllow to set custom easings:\n\n```js\n    require('postcss-easings')({\n      easings: { easeJump: 'cubic-bezier(.86,0,.69,1.57)' }\n    })\n```\n\nThe plugin will convert custom easing name between camelCase and snake-case.\nSo the example below adds `easeJump` and `ease-jump` easings.\n\nCustom easing names must start from `ease` and contain only letters and `-`.\n\nYou can create custom easing on [cubic-bezier.com].\n\n[cubic-bezier.com]: http://cubic-bezier.com/\n","funding_links":["https://opencollective.com/postcss","https://github.com/sponsors/ai"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpostcss%2Fpostcss-easings","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpostcss%2Fpostcss-easings","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpostcss%2Fpostcss-easings/lists"}