Scans a project for Sass partials that are never imported and removes them.

Usage no npm install needed!

<script type="module">
  import sassyclean from '';


Sassy Clean

npm version npm Build Status

SassyClean logo

Scans a project for partials that are never imported. Sassy Clean provides the option to automatically delete the unused partials or display the file name as a console log.

npm install sassyclean -g


Run sassyclean <directory> <remove> in your project directory.

Directory can be set to the directory that contains your project's partial Sass files.

Remove can be set to true or false.

Sassyclean assumes that all your Sass files are in a directory with the name sass in your project.



  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request


MIT © Ryan Burgess