Socket
Socket
Sign inDemoInstall

sort-css-media-queries

Package Overview
Dependencies
0
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    sort-css-media-queries

The custom `sort` method for `css-mqpacker` or `pleeease` (which uses css-mqpacker) or, perhaps, something else ))


Version published
Weekly downloads
276K
decreased by-16.75%
Maintainers
1
Install size
7.24 kB
Created
Weekly downloads
 

Readme

Source

sort-css-media-queries

npm es2015

The custom sort method for css-mqpacker or pleeease (which uses css-mqpacker) or, perhaps, something else ))

Installing

npm install --save sort-css-media-queries

# or using yarn cli
yarn add sort-css-media-queries

Usage

See the original docs at first https://www.npmjs.com/package/css-mqpacker#sort;


const sortCSSmq = require('sort-css-media-queries');

// your cool code
// ...

postcss([
  mqpacker({
    sort: sortCSSmq
  })
]).process(css);

Warn

it's use es6 syntax

Tests

Sorry but here no tests yet.

Contributing

you know what to do - issues and pulls

Keywords

FAQs

Last updated on 08 May 2017

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc