# sass-cache

> selector-specifc cache functionality for sass

Latest version **0.0.3** (published 2016-12-31) · ISC license · 0 weekly downloads

## Install

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

## 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.3 |
| Published | 2016-12-31 |
| First published | 2016-12-31 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | khalidhoffman |
| Maintainers | khalidhoffman |
| Keywords | sass, cache, css, functions |

## Links

- npm: https://www.npmjs.com/package/sass-cache
- Repository: https://github.com/khalidhoffman/sass-cache
- Homepage: https://github.com/khalidhoffman/sass-cache#readme
- Issues: https://github.com/khalidhoffman/sass-cache/issues
- npm.io page: https://npm.io/package/sass-cache

## Dependencies (2)

- [lodash](https://npm.io/package/lodash.md) ^4.17.3
- [node-sass](https://npm.io/package/node-sass.md) ^4.1.1

## Alternatives

- [memory-cache](https://npm.io/package/memory-cache.md) — 795.0K weekly downloads
- [@httptoolkit/proxy-agent](https://npm.io/package/@httptoolkit/proxy-agent.md) — 11.2K weekly downloads
- [express-cache-controller](https://npm.io/package/express-cache-controller.md) — 5.3K weekly downloads
- [http-cache-middleware](https://npm.io/package/http-cache-middleware.md) — 4.5K weekly downloads
- [cache2](https://npm.io/package/cache2.md) — 1.5K weekly downloads

## Recent versions

- 0.0.3 (latest) — 2016-12-31
- 0.0.2 — 2016-12-31
- 0.0.1 — 2016-12-31

## README

# sass-cache
selector-specifc cache functionality for node-sass

## How to install
`npm i sass-cache`

## How to use
```
const sass = require('node-sass'),
    sassCache = require('sass-cache');

sass.render({
        file: scss_filename,
        functions: sassCache.functions
    },
    function (err, result) {
        /*...*/
    });
```

## Features
Function Name | Params                            | Description
--------------|-----------------------------------|----------------
`cache-save`  | `selector`, `namespace`, `value`  | caches a value for that for the selector and namespace
`cache-load`  | `selector`, `namespace`           | loads cached value for the selector and namespace

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