Neolithic Programming Machine

    mediaquery-text

    1.2.0 • Public • Published

    mediaquery-text Build Status Coverage Status

    NPM

    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

    Install

    npm i mediaquery-text

    DownloadsWeekly Downloads

    119,692

    Version

    1.2.0

    License

    MIT

    Unpacked Size

    4.44 kB

    Total Files

    4

    Last publish

    Collaborators

    • jonkemp