# sass-hash

> Runs lib-sass but hashes the file output to bust cache

Latest version **1.0.1** (published 2018-04-09) · ISC license · 0 weekly downloads

## Install

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

Provides the command `sass-hash`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2018-04-09 |
| First published | 2018-04-09 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 13.7 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | danmademe |

## Links

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

## Dependencies (2)

- [meow](https://npm.io/package/meow.md) ^4.0.0
- [node-sass](https://npm.io/package/node-sass.md) ^4.8.3

## Recent versions

- 1.0.1 (latest) — 2018-04-09
- 1.0.0 — 2018-04-09

## README

# sass-hash

Hashes your SASS for maximum Cache

### Requires node-sass!

```sh
npm i node-sass sass-hash
```


```js
const sassHash = require("sass-hash"); 
const cssPath = path.join(__dirname, "./assets/rendered/");
sassHash.findCssFile(cssPath)
    .then(cssFile => {
       const cssPath = `/assets/rendered/${cssFile}`;
    })
    .catch(error => {throw error; });
```

## or .. via CLI

```sh
sass-hash --output-style compressed app/assets/scss/app.scss app/assets/rendered/style
```

```
sass-hash [options] <input> <output>
```

### Options


right now im only supporting output-style.. i'll get the rest of node-sass's stuff working

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