Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/judas-christ/postcss-sort
PostCSS plugin for sorting properties
https://github.com/judas-christ/postcss-sort
Last synced: about 1 month ago
JSON representation
PostCSS plugin for sorting properties
- Host: GitHub
- URL: https://github.com/judas-christ/postcss-sort
- Owner: judas-christ
- License: mit
- Created: 2015-06-01T10:59:30.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-06-01T11:24:00.000Z (over 9 years ago)
- Last Synced: 2024-04-14T12:53:36.151Z (9 months ago)
- Language: JavaScript
- Size: 129 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# postcss-sort
PostCSS plugin for sorting properties
## Usage
```js
postcss([ require('postcss-sort') ])
```See [PostCSS] docs for examples for your environment.
By default, properties are sorted alphabetically. If you want to sort them another way, you can supply your own sorting function.
```js
var sort = require('postcss-sort')(sortingFunction);
```[PostCSS]: https://github.com/postcss/postcss