npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

wwebjs-redis

v0.1.1

Published

A Redis Storage plugin for whatsapp-web.js library

Readme

wwebjs-redis

################################################################################
#                                                                              #
# db    db  .8888.  dP     888888b 8888ba   .8888.     d8b   db 888888b d8888P #
# 88    88 d8'  `8b 88     88      88  `8b d8'  `8b    88V8  88 88        88   #
# Y8    8P 88    88 88    a88aaa   88aa8P' 88    88    88 V8 88 88aaa     88   #
# `8b  d8' 88    88 88     88      88  `8b 88    88    88  V888 88        88   #
#  `8bd8'  Y8.  .8P 88     88      88  .88 Y8.  .8P dP 88   V88 88        88   #
#    YP     `888P'  88888P 888888P 888888'  `888P'  88 VP    8P 888888P   dP   #
#                                                                              #
################################################################################

npm version Build Status npm downloads Package Quality Socket Badge Known Vulnerabilities

A Redis Storage plugin for whatsapp-web.js library. Use RedisStore to save your WhatsApp session in a Redis DB.

Usage

Install:

npm install -S wwebjs-redis @redis/client

And in your code:

import { Client, RemoteAuth } from 'whatsapp-web.js'
import { RedisStore } from 'wwebjs-redis'
import { createClient } from '@redis/client'

async function startApp () {

	const redisClient = createClient({
		url: process.env.TESTS_REDIS_URL,
	})

	await redisClient.connect()

	const redisStore = new RedisStore({
		redis: redisClient,
		keyPrefix: 'prefix:for:key:in:redis:',
	})

	const waClient = new Client({
		authStrategy: new RemoteAuth({
			store: redisStore,
		})
	})

	await client.initialize()
}

See Also

TODO

  • [ ] check documentation (especially the code sample)
  • [ ] add src/redis-store.d.ts
  • [ ] add docs for connecting to Redis with connectionString instead of Client
  • [ ] fix Snyk integration
  • [ ] remove @volebo/devkit dependency (or wait for it to become public and fix Pipeline testing)

Contributing

You could take part in the development process, just follow this Contributing guideline.

License

Please, read the LICENSE file in the root of the repository (or downloaded package).