node package manager
Love JavaScript? Your insights can make it even better. Take the 2017 JavaScript Ecosystem Survey »



CLI tool for minification, purification and optimization of HTML, JS, CSS and image assets

Package version Downloads Standard Travis Build Standard Readme GitHub version Dependency CI License PRs Donate

Github Watch Badge Github Star Badge Tweet

Built with ❤︎ by Tiaan and contributors

Table of Contents

Table of Contents
  • About
  • Install
  • Usage
  • Contribute
  • License
  • About

    This basic CLI tool recursively walks a given directory and:

    It is intended to be run as a post script on static assets.


    $ npm install --global caaf
    # OR 
    $ yarn global add caaf


    After install run caaf.

    $ caaf

    This will optimize all assets in the current directory.

    You can also specify a input directory:

    $ caaf inputDir

    And output directory:

    $ caaf inputDir outputDir


    Contributions are welcome. Please open up an issue or create PR if you would like to help out.

    Note: If editing the README, please conform to the standard-readme specification.


    Licensed under the MIT License.

    Icons made by Madebyoliver from is licensed by CC 3.0 BY