# sass-pathfinder

> A tiny includePaths resolver for node-sass

Latest version **0.0.5** (published 2016-08-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install sass-pathfinder
pnpm add sass-pathfinder
yarn add sass-pathfinder
bun add sass-pathfinder
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.5 |
| Published | 2016-08-07 |
| First published | 2016-06-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | itsjonq |

## Links

- npm: https://www.npmjs.com/package/sass-pathfinder
- npm.io page: https://npm.io/package/sass-pathfinder

## Dependencies (2)

- [lodash.uniq](https://npm.io/package/lodash.uniq.md) ^4.4.0
- [lodash.flattendeep](https://npm.io/package/lodash.flattendeep.md) ^4.3.0

## Recent versions

- 0.0.5 (latest) — 2016-08-07
- 0.0.3 — 2016-07-28
- 0.0.2 — 2016-06-30
- 0.0.1 — 2016-06-23

## README

# sass-pathfinder [![Build Status](https://travis-ci.org/ItsJonQ/sass-pathfinder.svg?branch=master)](https://travis-ci.org/ItsJonQ/sass-pathfinder) [![npm version](https://badge.fury.io/js/sass-pathfinder.svg)](https://badge.fury.io/js/sass-pathfinder)

A tiny robust includePath resolver for [node-sass](https://github.com/sass/node-sass)


## Install
```
npm install sass-pathfinder --save-dev
```

## Basic Usage
Pathfinder needs to be imported into your sass pipeline. Below is an example using Gulp:

```javascript
var gulp = require('gulp');
var sass = require('gulp-sass');
var pathfinder = require('sass-pathfinder');

gulp.task('sass', function () {
  return gulp.src('./sass/**/*.scss')
    .pipe(sass({
      includePaths: pathfinder(
        './source-a',
        ['../source-b', 'source-c/source-c1']
      )
    }))
    .pipe(gulp.dest('./css'));
});
```

## Options
### pathfinder(arguments)
Type: `String`, `Array` | Default: `[]`

Pass along strings or arrays as arguments to pathfinder.

---
_Source: https://npm.io/package/sass-pathfinder · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
