This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

sass-index

1.0.1 • Public • Published

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.

/sass-index/

    Package Sidebar

    Install

    npm i sass-index

    Weekly Downloads

    22

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • pdufour