rk

1.0.0 • Public • Published

rk

it just joins keys together by colons. Useful when working with Redis.

Idea from Dancing around strings in Node.js and Redis

npm

npm install rk -s

usage

var rk = require('rk');
var userId = 10;
 
redis.get(rk('users', userId), console.log.bind(console));

Readme

Keywords

none

Package Sidebar

Install

npm i rk

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • fgribreau