An open API service indexing awesome lists of open source software.

https://github.com/denghongcai/node-shm-cache

A Node.js wrapper for libshmcache
https://github.com/denghongcai/node-shm-cache

cache nodejs shm

Last synced: 6 months ago
JSON representation

A Node.js wrapper for libshmcache

Awesome Lists containing this project

README

          

# node-shm-cache

[![npm version](https://badge.fury.io/js/shm-cache.svg)](https://badge.fury.io/js/shm-cache) [![Build Status](https://travis-ci.org/denghongcai/node-shm-cache.svg)](https://travis-ci.org/denghongcai/node-shm-cache)

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](https://github.com/happyfish100/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).

### To run tests:

```
$ npm test
```

or to run test continuously

```
$ npm test -- watch
```