Skip to content

denghongcai/node-shm-cache

Repository files navigation

node-shm-cache

npm version Build Status

A wrapper for libshmcache

Installation

Just run

$ npm i shm-cache --save

then check test folder to get usage :D

Building

To compile the extension, you need to install libshmcache first, then run

$ npm i
$ npm run configure
$ npm run build

All subsequent builds only need npm run build

You can confirm everything built correctly by running the test suite.

To run tests:

$ npm test

or to run test continuously

$ npm test -- watch