Skip to content

Commit

Permalink
fix(redis): expose Redis constructor
Browse files Browse the repository at this point in the history
Closes #205
  • Loading branch information
Kikobeats committed Apr 25, 2024
1 parent 8712c7b commit b8ead88
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,12 @@
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
],
"rules": {
"body-max-length": [
0
]
}
},
"nano-staged": {
"*.{js,ts}": [
Expand Down
2 changes: 2 additions & 0 deletions packages/redis/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,5 @@ class KeyvRedis {
}

module.exports = KeyvRedis

module.exports.Redis = Redis

0 comments on commit b8ead88

Please sign in to comment.