Socket
Socket
Sign inDemoInstall

rmodel

Package Overview
Dependencies
7
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    rmodel

A simple OHM for Redis


Version published
0
Maintainers
1
Install size
1.08 MB
Created
Weekly downloads
 

Readme

Source

RedisModel - a simple Redis OHM (object hash mapper) for Node.js

Features

  • Easy API
  • Associations (hasMany, belongsTo)
  • Getters/Setters
  • Model class and instance methods
  • Defaults
  • ID generation
  • Promises
  • Index by field value

Install

npm install rmodel

How to Run Tests

  1. Clone this repo and install its dependencies (run npm install)
  2. Install coffeegulp (npm install -g coffeegulp)
  3. coffeegulp test or coffeegulp test watch

Wishlist

  • Relations: hasOne
  • Unique Index
  • Rename model.get to model.populate
  • Write some docs
  • More examples
  • More tests

Keywords

FAQs

Last updated on 27 Sep 2014

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc