Installations
npm install redis
Score
99.2
Supply Chain
100
Quality
87.4
Maintenance
100
Vulnerability
100
License
Releases
redis@5.0.0-next.5
Published on 15 Oct 2024
redis@4.7.0
Published on 29 Jul 2024
client@1.6.0
Published on 29 Jul 2024
time-series@1.1.0
Published on 29 Jul 2024
search@1.2.0
Published on 29 Jul 2024
json@1.0.7
Published on 29 Jul 2024
Developer
Developer Guide
Module System
CommonJS
Min. Node Version
Typescript Support
Yes
Node Version
21.6.1
NPM Version
10.2.4
Statistics
16,953 Stars
2,001 Commits
1,889 Forks
294 Watching
20 Branches
256 Contributors
Updated on 27 Nov 2024
Bundle Size
273.61 kB
Minified
50.60 kB
Minified + Gzipped
Languages
TypeScript (99.28%)
JavaScript (0.71%)
Dockerfile (0.01%)
Total Downloads
Cumulative downloads
Total Downloads
852,894,322
Last day
-3.5%
765,347
Compared to previous day
Last week
1.1%
4,344,928
Compared to previous week
Last month
7.6%
18,402,676
Compared to previous month
Last year
16.2%
192,100,027
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Node-Redis
node-redis is a modern, high performance Redis client for Node.js.
How do I Redis?
Learn for free at Redis University
Build faster with the Redis Launchpad
Installation
Start a redis-server via docker (or any other method you prefer):
1docker run -p 6379:6379 -it redis/redis-stack-server:latest
To install node-redis, simply:
1npm install redis
"redis" is the "whole in one" package that includes all the other packages. If you only need a subset of the commands, you can install the individual packages. See the list below.
Packages
Name | Description |
---|---|
redis | The client with all the "redis-stack" modules |
@redis/client | The base clients (i.e RedisClient , RedisCluster , etc.) |
@redis/bloom | Redis Bloom commands |
@redis/graph | Redis Graph commands |
@redis/json | Redis JSON commands |
@redis/search | RediSearch commands |
@redis/time-series | Redis Time-Series commands |
Looking for a high-level library to handle object mapping? See redis-om-node!
Contributing
If you'd like to contribute, check out the contributing guide.
Thank you to all the people who already contributed to Node Redis!
License
This repository is licensed under the "MIT" license. See LICENSE.
Stable Version
The latest stable version of the package.
Stable Version
4.7.0
HIGH
1
7.5/10
Summary
Node-Redis potential exponential regex in monitor mode
Affected Versions
>= 2.6.0, < 3.1.1
Patched Versions
3.1.1
Reason
security policy file detected
Details
- Info: security policy file detected: SECURITY.md:1
- Info: Found linked content: SECURITY.md:1
- Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1
- Info: Found text in security policy: SECURITY.md:1
Reason
no dangerous workflow patterns detected
Reason
19 commit(s) and 5 issue activity found in the last 90 days -- score normalized to 10
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
SAST tool detected but not run on all commits
Details
- Info: SAST configuration detected: CodeQL
- Warn: 7 commits out of 15 are checked with a SAST tool
Reason
6 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
- Warn: Project is vulnerable to: GHSA-78xj-cgh5-2h22
- Warn: Project is vulnerable to: GHSA-2p57-rm9w-gvfp
- Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv
- Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j
Reason
Found 7/23 approved changesets -- score normalized to 3
Reason
dependency not pinned by hash detected -- score normalized to 2
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/node-redis/codeql.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/node-redis/codeql.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:59: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/node-redis/codeql.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:72: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/node-redis/codeql.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/documentation.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/node-redis/documentation.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/documentation.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/node-redis/documentation.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/release-drafter-bloom.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/node-redis/release-drafter-bloom.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/release-drafter-graph.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/node-redis/release-drafter-graph.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/release-drafter-json.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/node-redis/release-drafter-json.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/release-drafter-search.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/node-redis/release-drafter-search.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/release-drafter-time-series.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/node-redis/release-drafter-time-series.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/node-redis/tests.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/redis/node-redis/tests.yml/master?enable=pin
- Warn: containerImage not pinned by hash: packages/test-utils/docker/Dockerfile:2
- Warn: npmCommand not pinned by hash: .github/workflows/tests.yml:32
- Info: 0 out of 8 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 5 third-party GitHubAction dependencies pinned
- Info: 0 out of 1 containerImage dependencies pinned
- Info: 2 out of 3 npmCommand dependencies pinned
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql.yml:28
- Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql.yml:29
- Warn: jobLevel 'contents' permission set to 'write': .github/workflows/release-drafter-bloom.yml:14
- Warn: jobLevel 'contents' permission set to 'write': .github/workflows/release-drafter-graph.yml:14
- Warn: jobLevel 'contents' permission set to 'write': .github/workflows/release-drafter-json.yml:14
- Warn: jobLevel 'contents' permission set to 'write': .github/workflows/release-drafter-search.yml:14
- Warn: jobLevel 'contents' permission set to 'write': .github/workflows/release-drafter-time-series.yml:14
- Warn: no topLevel permission defined: .github/workflows/codeql.yml:1
- Warn: no topLevel permission defined: .github/workflows/documentation.yml:1
- Warn: no topLevel permission defined: .github/workflows/release-drafter-bloom.yml:1
- Warn: no topLevel permission defined: .github/workflows/release-drafter-graph.yml:1
- Warn: no topLevel permission defined: .github/workflows/release-drafter-json.yml:1
- Warn: no topLevel permission defined: .github/workflows/release-drafter-search.yml:1
- Warn: no topLevel permission defined: .github/workflows/release-drafter-time-series.yml:1
- Warn: no topLevel permission defined: .github/workflows/tests.yml:1
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Score
5.9
/10
Last Scanned on 2024-11-18
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More