reaves
Reaves is a Javascript implementation of the Entity-Attribute-Value model and the event sourcing pattern for Node.js.
Simply put, it lets you save and retrieve present and past string values of attributes that belong to entities identified by string IDs. Reaves is backed by Redis.
Please, refer to the Installation, Usage, API, Requirements and License sections for more information.
Installation
npm install reaves redis --save
Usage
const createEntityAttribute CASE_SENSITIVE UNIQUE = const generate = const redis = const uuidv4 = const client = redisconst entityName = 'player'const entityName = 'nickname'const flags = CASE_SENSITIVE | UNIQUE ``
API
Please, refer to the API documentation here.
Requirements
- Node.js 6+
- Redis 2.8.9+
License
This project is MIT-licensed