1.0.1 • Published 9 years ago

sass-index v1.0.1

Weekly downloads
19
License
MIT
Repository
github
Last release
9 years ago

sass-index

Given a directory, generates an index.sass file for this directory, and any nested directories.

Example

For directory structure:

SASS_FILES
	foo.sass
	bar.sass

When you run:

require('sass-index')(
	dir: 'SASS_FILES/'
)

Adds a new file at SASS_FILES/index.sass, containing:

@import "./foo"
@import "./bar"

Options:

basedir

Base directory where the SASS files are located.

Default: ./

dir

Directory to generate index of.

Default: ./

extensions

List of extensions you want to analyze.

Default: ['.sass','.scss']

ignore

Paths to ignore in index generation. Accepts glob syntax, like path/**.

Default: []

License

Available under the MIT License.

1.0.1

9 years ago

1.0.0

9 years ago

0.0.41

10 years ago

0.0.4

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago