@avlutils/redis-client-ts
TypeScript icon, indicating that this package has built-in type declarations

1.1.8 • Public • Published

redis-client-ts

Introduction

The redis client module for TypeScript


Methods

  • set
  • get
  • mset
  • mget
  • keys
  • lpop
  • lpush
  • lrange
  • lrem
  • lset
  • ltrim
  • del
  • pipeline
  • ttl

Example

  • Connect Example
import Redis from "@avlutils/redis-client-ts"

const redis = new Redis({host:"redis.avancevl.com"});

// if connect error, it will throw error
  • Methods

Reference The Document

Package Sidebar

Install

npm i @avlutils/redis-client-ts

Weekly Downloads

1

Version

1.1.8

License

ISC

Unpacked Size

443 kB

Total Files

61

Last publish

Collaborators

  • hsinyang
  • developers.avl