Naturally Processed Meals

    @gosquared/redis-scripts

    0.0.2 • Public • Published

    redis-scripts

    GoSquared is customer analytics and chat platform. We've worked with Redis in real time systems and have developed scripts for it along the way.

    npm install --save redis @gosquared/redis-scripts
    
    let createScripts = require('@gosquared/redis-scripts')
    let redis = require('redis');
    let redisScripts = createScripts(redis);
    
    // hmsetex
    let { hmsetex } = redisScripts;
    let key = 'your-key';
    let fields = { some_field: 'test', another_field: 'foo' };
    hmsetex(key, fields).then(handleResult).catch(handleError); 

    Install

    npm i @gosquared/redis-scripts

    DownloadsWeekly Downloads

    0

    Version

    0.0.2

    License

    MIT

    Last publish

    Collaborators

    • jt
    • thedeveloper
    • gosquared-admin