Socket
Socket
Sign inDemoInstall

fela-sort-media-query-mobile-first

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fela-sort-media-query-mobile-first

Fela enhancer that sorts media queries using a mobile-first approach


Version published
Weekly downloads
6.4K
increased by10.06%
Maintainers
1
Weekly downloads
 
Created
Source

fela-sort-media-query-mobile-first

npm version npm downloads Bundlephobia

Uses sort-css-media-queries to sort you mediaQueryOrder following a mobile-first approach.

Installation

yarn add fela-sort-media-query-mobile-first

You may alternatively use npm i --save fela-sort-media-query-mobile-first.

Usage

import { createRenderer } from 'fela'
import sortMediaQueryMobileFirst from 'fela-sort-media-query-mobile-first'

const renderer = createRenderer({
  enhancers: [sortMediaQueryMobileFirst()],
})

License

Fela is licensed under the MIT License.
Documentation is licensed under Creative Commons License.
Created with ♥ by @robinweser and all the great contributors.

Keywords

FAQs

Package last updated on 16 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc