{"id":28333494,"url":"https://github.com/dimitrisnl/postcss-consistent-space","last_synced_at":"2026-05-15T18:04:56.491Z","repository":{"id":57327893,"uuid":"104595439","full_name":"dimitrisnl/postcss-consistent-space","owner":"dimitrisnl","description":"Maintain consistent spacing thorough your project","archived":false,"fork":false,"pushed_at":"2019-01-08T18:12:13.000Z","size":331,"stargazers_count":2,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-26T20:55:20.829Z","etag":null,"topics":["postcss","postcss-plugin"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/postcss-consistent-space","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/dimitrisnl.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-09-23T20:00:51.000Z","updated_at":"2018-04-19T18:09:41.000Z","dependencies_parsed_at":"2022-09-17T11:20:44.142Z","dependency_job_id":null,"html_url":"https://github.com/dimitrisnl/postcss-consistent-space","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dimitrisnl/postcss-consistent-space","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimitrisnl%2Fpostcss-consistent-space","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimitrisnl%2Fpostcss-consistent-space/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimitrisnl%2Fpostcss-consistent-space/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimitrisnl%2Fpostcss-consistent-space/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dimitrisnl","download_url":"https://codeload.github.com/dimitrisnl/postcss-consistent-space/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimitrisnl%2Fpostcss-consistent-space/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260724343,"owners_count":23052719,"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":["postcss","postcss-plugin"],"created_at":"2025-05-26T20:50:14.716Z","updated_at":"2026-05-15T18:04:56.485Z","avatar_url":"https://github.com/dimitrisnl.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PostCSS Consistent Space [![Build Status](https://travis-ci.org/dimitrisnl/postcss-consistent-space.svg?branch=master)](https://travis-ci.org/dimitrisnl/postcss-consistent-space) ![npm](https://img.shields.io/npm/dt/postcss-consistent-space.svg)\n\nMaintain consistent margin and padding spaces thorough your project\n\n[PostCSS]: https://github.com/postcss/postcss\n[ci-img]:  https://travis-ci.org/dimitrisnl/postcss-consistent-space.svg\n[ci]:      https://travis-ci.org/dimitrisnl/postcss-consistent-space\n\n```css\n.foo {\n  @space margin 2 3;\n}\n```\n\n```css\n.foo {\n  margin: 16px 24px;\n}\n```\n\n## Usage\n\nNo options - fallback **8 pixel** grid\n```js\npostcss([ require('postcss-consistent-space') ])\n```\n\nor with props\n```js\npostcss([ require('postcss-consistent-space') ])\n    ({\n        base: 4,\n        unit: 'em',\n    }),\n```\n\nSee [PostCSS] docs for examples for your environment.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimitrisnl%2Fpostcss-consistent-space","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimitrisnl%2Fpostcss-consistent-space","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimitrisnl%2Fpostcss-consistent-space/lists"}