Nocturnal Parakeet Monitor

    @vkontakte/graph-cache-js

    3.0.0 • Public • Published

    graph-cache-js

    This is a JavaScript parser for graph-cache library.

    Installation

    npm install --save graph-cache-js

    Usage

    const createGraphCache = require('graph-cache');
    const jsParser = require('graph-cache-js');
    
    function parser(parserOptions, sign, file, filename) {
      return jsParser(sign, file, filename, parserOptions);
    }
    
    const gcache = createGraphCache(parser.bind(null, parserOptions), sign, {});

    Parser options

    • packageJSON — path to package.json which you use in your project, so that parser could walk dependencies from npm.

    Important! It will only store and check versions of packets from npm. It won't walk your whole dependencies tree, so if you change files inside your node_modules — parser won't be able to detect those changes without changing version of the packet you're importing.

    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.

    Keywords

    none

    Install

    npm i @vkontakte/graph-cache-js

    DownloadsWeekly Downloads

    19

    Version

    3.0.0

    License

    MIT

    Unpacked Size

    30.9 kB

    Total Files

    38

    Last publish

    Collaborators

    • k.egor.smirnov
    • nekr
    • fedorov.xyz