Gathering detailed insights and metrics for enmap-rethink
Gathering detailed insights and metrics for enmap-rethink
Gathering detailed insights and metrics for enmap-rethink
Gathering detailed insights and metrics for enmap-rethink
A rethinkdbdash Provider Module for github.com/eslachance/enmap
npm install enmap-rethink
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
Apache-2.0 License
3 Stars
34 Commits
3 Forks
2 Watchers
1 Branches
4 Contributors
Updated on Jul 25, 2023
Latest Version
2.1.2
Package Id
enmap-rethink@2.1.2
Unpacked Size
24.52 kB
Size
8.40 kB
File Count
7
NPM Version
6.0.1
Node Version
10.1.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
Enmap-Rethink is a provider for the Enmap module. It enables the use of a persistent data structure using RethinkDB as a backend (well, rethinkdbdash
really).
To install enmap-rethink simply run npm i enmap-rethink
. You need to have a RethinkDB server already installed, this module does not install it for you.
1// Load Enmap 2const Enmap = require('enmap'); 3 4// Load EnmapRethink 5const EnmapRethink = require('enmap-rethink'); 6 7// Initialize the database with the name "test" 8const rethink = new EnmapRethink({ name: 'test' }); 9 10// Initialize the Enmap with the provider instance. 11const myColl = new Enmap({ provider: rethink });
Shorthand declaration:
1const Enmap = require('enmap'); 2const EnmapRethink = require('enmap-rethink'); 3const myColl = new Enmap({ provider: new EnmapRethink({ name: 'test' }); });
Enmap-Rethink will automatically create a separate database (default dbName:
enmap
) when loading, assuming it has permissions to do so.
1// Example with all options.
2const rethink = new EnmapRethink({
3 name: 'test',
4 dbName: 'enmap',
5 host: 'localhost',
6 port: 28015
7});
The name
option is mandatory and defines the name of the table where the data is stored.
The dbName
is optional and defines the database name in the rethink server where data is stored. If multiple enmap instances connect to the same database, the same database is used with different table names. The default dbName is enmap
.
The host
is optional and defines which host this module attempts to connect to. The default host is localhost
.
The port
is optional and defines which port is used to connect to the Rethink DB. The default port is 28015
.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 4/20 approved changesets -- score normalized to 2
Reason
project is archived
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
19 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
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