1.4.0 • Published 3 years ago

gass v1.4.0

Weekly downloads
3
License
ISC
Repository
github
Last release
3 years ago

Gass (Grep sASS)

Version Build Status Code Climate codecov HitCount

Tool to get file and line using the css rule. When debugging css is difficult to get the css query and find in scss file. With this tool you will find easy.

Installation

$ npm i -g gass

Usage

Create a scss file in a folder (ex: product.scss).

.product {
  &__title {
    color: #f00;

    &--active {
      color: #0f0;
    }
  }
}

Now run:

$ gass .product__title--active

You will see:

Searching in: **/*.scss

path/to/product.scss
5:    &--active {

Change searcher

The default search is a glob **/*.scss, but is possible to search with another glob using the code:

$ gass .product__title--active -f stylesheets/**.scss
1.4.0

3 years ago

1.3.0

3 years ago

1.2.0

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago