{"id":15502868,"url":"https://github.com/johno/postcss-shorthand-expand","last_synced_at":"2025-07-18T08:37:22.734Z","repository":{"id":57150245,"uuid":"43716535","full_name":"johno/postcss-shorthand-expand","owner":"johno","description":"Remove shorthand properties in your CSS","archived":false,"fork":false,"pushed_at":"2018-11-10T03:08:12.000Z","size":9,"stargazers_count":16,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-15T07:31:57.292Z","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/johno.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":"2015-10-05T22:06:58.000Z","updated_at":"2023-12-12T12:56:04.000Z","dependencies_parsed_at":"2022-09-03T14:52:13.798Z","dependency_job_id":null,"html_url":"https://github.com/johno/postcss-shorthand-expand","commit_stats":null,"previous_names":["johnotander/postcss-shorthand-expand"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/johno/postcss-shorthand-expand","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fpostcss-shorthand-expand","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fpostcss-shorthand-expand/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fpostcss-shorthand-expand/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fpostcss-shorthand-expand/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johno","download_url":"https://codeload.github.com/johno/postcss-shorthand-expand/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fpostcss-shorthand-expand/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265521520,"owners_count":23781526,"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-10-02T09:11:24.564Z","updated_at":"2025-07-18T08:37:22.708Z","avatar_url":"https://github.com/johno.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# postcss-shorthand-expand [![Build Status](https://secure.travis-ci.org/johnotander/postcss-shorthand-expand.png?branch=master)](https://travis-ci.org/johnotander/postcss-shorthand-expand) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)\n\nExpand shorthand properties in your CSS.\n\nNote: This currently only supports a [limited list](https://github.com/kapetan/css-shorthand-expand) of shorthand properties:\n\n- `background`\n- `font`\n- `padding`\n- `margin`\n- `border`\n- `border-width`\n- `border-style`\n- `border-color`\n- `border-top`\n- `border-right`\n- `border-bottom`\n- `border-left`\n\n## Installation\n\n```bash\nnpm install --save postcss-shorthand-expand\n```\n\n## Usage\n\n```javascript\nvar postcss = require('postcss')\nvar shorthandExpand = require('postcss-shorthand-expand')\n\npostcss([ shorthandExpand() ]).process(myCss).css\n```\n\n#### Input\n\n```css\n.some-background {\n  background: url(image.png) no-repeat #ff0;\n}\n\n.some-font {\n  font: 16px / 1.2 sans-serif;\n}\n```\n\n#### Output\n\n```css\n.some-background {\n  background-image: url(image.png);\n  background-repeat: no-repeat;\n  background-color: #ff0;\n}\n\n.some-font {\n  font-size: 16px;\n  line-height: 1.2;\n  font-family: sans-serif;\n}\n```\n\n## Related\n\n* \u003chttps://github.com/kapetan/css-shorthand-expand\u003e\n\n## License\n\nMIT\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\nCrafted with \u003c3 by John Otander ([@4lpine](https://twitter.com/4lpine)).\n\n***\n\n\u003e This package was initially generated with [yeoman](http://yeoman.io) and the [p generator](https://github.com/johnotander/generator-p.git).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohno%2Fpostcss-shorthand-expand","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohno%2Fpostcss-shorthand-expand","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohno%2Fpostcss-shorthand-expand/lists"}