mediaquery-text
v1.2.0
Published
Returns Media Query text for a CSS source.
Downloads
804,826
Readme
mediaquery-text
Returns Media Query text for a CSS source.
Install
Install with npm
npm install --save mediaquery-text
Usage
var mediaQueryText = require('mediaquery-text');
var mediaQueries = mediaQueryText(css);
console.log(mediaQueries); // @media only screen and (min-width: 35em) {}
Credit
The code for this module was originally taken from the Juice library.
License
MIT