Neurological Phenomenon Multiplexer

    redis-argument-parser

    1.0.0 • Public • Published

    Parse types of arguments for a Redis command.

    Usage

    var parser = require('redis-argument-parser')
    var command = new parser.RedisCommand('mset') // or 'MSET'
    var types = command.parseInputs(['k1', 1, 'k2', 2])
    console.log(types)
    // [ 'key', 'string', 'key', 'string' ]

    Keywords

    none

    Install

    npm i redis-argument-parser

    DownloadsWeekly Downloads

    2

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • evansolomon