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
- Host: GitHub
- URL: https://github.com/denghongcai/node-shm-cache
- Owner: denghongcai
- License: mit
- Created: 2017-01-20T08:43:35.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2025-01-06T09:03:50.000Z (9 months ago)
- Last Synced: 2025-04-18T13:34:24.011Z (6 months ago)
- Topics: cache, nodejs, shm
- Language: C++
- Homepage:
- Size: 70.3 KB
- Stars: 23
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: History.md
- License: LICENSE
Awesome Lists containing this project
README
# node-shm-cache
[](https://badge.fury.io/js/shm-cache) [](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
```