# fela-sort-media-query-order

> Fela enhancer to sort mediaQueryOrder in mobile-first mode

Latest version **10.8.2** (published 2019-10-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install fela-sort-media-query-order
pnpm add fela-sort-media-query-order
yarn add fela-sort-media-query-order
bun add fela-sort-media-query-order
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 10.8.2 |
| Published | 2019-10-30 |
| First published | 2019-09-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2283 |
| Author | Robin Frischmann |
| Maintainers | rofrischmann |
| Keywords | fela, fela-enhancer, mobile-first, cssinjs |

## Links

- npm: https://www.npmjs.com/package/fela-sort-media-query-order
- Repository: https://github.com/rofrischmann/fela/
- npm.io page: https://npm.io/package/fela-sort-media-query-order

## Dependencies (1)

- [sort-css-media-queries](https://npm.io/package/sort-css-media-queries.md) ^1.4.3

## Recent versions

- 10.8.2 (latest) — 2019-10-30
- 10.8.1 — 2019-10-30
- 10.8.0 — 2019-10-11
- 10.7.0 — 2019-09-30

## README

# fela-sort-media-query-order

<img alt="npm version" src="https://badge.fury.io/js/fela-sort-media-query-order.svg"> <img alt="npm downloads" src="https://img.shields.io/npm/dm/fela-sort-media-query-order.svg"> <a href="https://bundlephobia.com/result?p=fela-sort-media-query-order@latest"><img alt="Bundlephobia" src="https://img.shields.io/bundlephobia/minzip/fela-sort-media-query-order.svg"></a>

Uses [sort-css-media-queries](https://github.com/dutchenkoOleg/sort-css-media-queries) to sort you `mediaQueryOrder` following a mobile-first approach.

## Installation
```sh
yarn add fela-sort-media-query-order-order
```
You may alternatively use `npm i --save fela-sort-media-query-order`.

## Usage
```javascript
import { createRenderer } from 'fela'
import sortMediaQueryOrder from 'fela-sort-media-query-order'

const renderer = createRenderer({
  enhancers: [ sortMediaQueryOrder() ]
})
```



## License
Fela is licensed under the [MIT License](http://opensource.org/licenses/MIT).<br>
Documentation is licensed under [Creative Common License](http://creativecommons.org/licenses/by/4.0/).<br>
Created with ♥ by [@rofrischmann](http://rofrischmann.de) and all the great contributors.

---
_Source: https://npm.io/package/fela-sort-media-query-order · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
