An ORM-like object storage layer for Riak, version 0.1.8. Provides a simple API for storing and retrieving JSON objects in Riak with schema stored in the database. No SQL, no complexity—just basic CRUD operations via promises. Designed for Node.js, relies on riak-dc for HTTP communication with Riak. Release cadence unknown; last update likely circa 2014. Differentiator: minimalistic, synchronous-like API using Q promises, no relational features, schema-light. Not actively maintained.
npm install rmNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates basic CRUD: adding an object, retrieving all objects of a type, and deleting an object using the RM library with riak-dc configured for a local Riak instance.
Migrate to a maintained Riak client or alternative ORM.
Ensure objects retrieved via get_objects have serials; for new objects, serial is assigned after add_object.
Validate objects manually before storing.
Wrap Q promises with native Promise or use a promise wrapper.
Use update_object instead for existing objects.
Ensure object has a serial (from a prior add_object or get_objects).
Run npm install riak-dc and import riakdc before using rm.