0.0.3 • Published 7 years ago

sass-cache v0.0.3

Weekly downloads
4
License
ISC
Repository
github
Last release
7 years ago

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 NameParamsDescription
cache-saveselector, namespace, valuecaches a value for that for the selector and namespace
cache-loadselector, namespaceloads cached value for the selector and namespace