Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    rework-classmappublic

    rework-classmap

    Rework CSS transform which removes unused class rules and optionally can compress class names.

    Installation

    % npm install rework-classmap
    

    Usage

    var rework        = require('rework');
    var makeClassmap  = require('rework-classmap');
    
    var classmap = makeClassmap({
      'SomeClass': true,
      'AnotherClass': true
    });
    
    var transformed = rework(src).use(classmap).toString();
    

    Keywords

    none

    install

    npm i rework-classmap

    Downloadsweekly downloads

    4

    version

    0.1.0

    license

    none

    last publish

    collaborators

    • avatar