@vkontakte/graph-cache-less

2.0.3 • Public • Published

graph-cache-less

This is a LESS parser for graph-cache library.

Installation

npm install --save graph-cache-less

Usage

const createGraphCache = require('graph-cache');
const lessParser = require('graph-cache-less');

function parser(lessOpts, sign, file, filename) {
  return lessParser(sign, file, filename, lessOpts);
}

const gcache = createGraphCache(parser.bind(null, lessOpts), sign, {});

lessOpts — options that will be passed directly to LESS compiler.

Testing

This library is tested using Mocha and Chai. You can run test suit with npm test. You can run npm run test-watch to rerun tests on file updates.

Contributing

Issues and PR's are welcomed here.

Readme

Keywords

none

Package Sidebar

Install

npm i @vkontakte/graph-cache-less

Weekly Downloads

1

Version

2.0.3

License

MIT

Unpacked Size

9.43 kB

Total Files

17

Last publish

Collaborators

  • k.egor.smirnov