reduce-to-sizes

1.0.3 • Public • Published

reduce-to-sizes

This command line utility will reduce a SCSS file to selectors that have size definitions listed on it. The use-case that inspired this was taking a desktop SCSS file and producing a file that can produce a structure to easily override in a mobile SCSS file.

Installation

Globally install with npm install -g reduce-to-sizes

Usage

Input

$ reduce-to-sizes [file]

Output

Outputs the file to stdout. $ reduce-to-sizes [file] > new.scss to save the output to a file called new.scss.

/reduce-to-sizes/

    Package Sidebar

    Install

    npm i reduce-to-sizes

    Weekly Downloads

    3

    Version

    1.0.3

    License

    ISC

    Unpacked Size

    3.35 kB

    Total Files

    4

    Last publish

    Collaborators

    • lazerskates