Gathering detailed insights and metrics for enmap
Gathering detailed insights and metrics for enmap
Gathering detailed insights and metrics for enmap
Gathering detailed insights and metrics for enmap
enmap-mongo
A MongoDB provider for Enmap
enmap-sqlite
Enmap-SQLite is a provider for the [Enmap](https://www.npmjs.com/package/enmap) module.
enmap-rethink
Enmap-Rethink is a provider for the [Enmap](https://www.npmjs.com/package/enmap) module. It enables the use of a persistent data structure using RethinkDB as a backend (well, `rethinkdbdash` really).
json-enmap
Um simples banco de dados em JSON com o foco em performance e simplicidade.
npm install enmap
Typescript
Module System
Min. Node Version
Node Version
NPM Version
66.6
Supply Chain
92.3
Quality
81.5
Maintenance
100
Vulnerability
98.9
License
JavaScript (99.7%)
TypeScript (0.3%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
175 Stars
433 Commits
33 Forks
4 Watching
6 Branches
22 Contributors
Minified
Minified + Gzipped
Latest Version
6.0.3
Package Id
enmap@6.0.3
Unpacked Size
92.09 kB
Size
23.77 kB
File Count
6
NPM Version
10.5.0
Node Version
20.12.2
Publised On
19 Sept 2024
Cumulative downloads
Total Downloads
Last day
0%
0
Compared to previous day
Last week
0%
0
Compared to previous week
Last month
0%
0
Compared to previous month
Last year
0%
0
Compared to previous year
Enhanced Maps are a data structure that can be used to store data in memory that can also be saved in a database behind the scenes. These operations are fast, safe, and painless.
The data is synchronized to the database automatically, seamlessly, and asynchronously for maximum effectiveness.
The storage system used is an sqlite
database which is fast, performant, can be easily backed up,
and supports multiple simultaneous connections.
Support is offered on my official Evie.Codes Discord.
A: Enmaps are the Javascript Map() data structure with additional utility methods. This started as a pretty straight clone of the Discord.js Collections but since its creation has grown far beyond those methods alone.
A: By using a database layer with better-sqlite3
, any data added to the Enmap
is stored not only in temporary memory but also backed up in a local database. This means that
when you restart your project, your data is not lost and is loaded on startup.
A: The size of the memory used is directly proportional to the size of all the keys loaded in memory. The more data you have, the more complex it is, the more memory it may use. You can use the fetchAll option to reduce memory usage.
A: Enmap was made specifically for beginners in mind. It's for you, the budding javascript developer that wants to save data in a database but doesn't want to learn SQL - yet. It's also for people that want to rapidly prototype some app that depends on a database but doesn't want to have to deal with queries, even if it's not the most efficient way to do things.
A: Enmap is useful for storing very simple key/value data for easy retrieval, and also for more complex objects with many properties. Mainly, because of who I originally made this for, it's used in Discord.js Bots to save currencies, content blocks, server settings, and user information for bans, blacklists, timers, warning systems, etc.
Some user comments!
I have legit tried several databases, from popular complicated ones to pretty basic ones. The only database I had absolutely no issue with was and still is enmap.
I know how to use a real db, but enmap is so sweet and easy to use
Thanks to Enmap, I am able to do tons of things that I never thought I would accomplish. From custom settings to even just saving the little things, it is amazing to use.
Enmap helped me, and it stills helps me, because it is very simple and useful. Thank you for creating Enmap.
Without your tutorials I didn't have an internship and some work.. :))
Enmap was introduced to me fairly early, and has been essential to the growth and development of my bot. Without it, I'd have to use and learn complicated and unsafe systems. Enmap has helped me do exactly what I want with my bot. Thank you.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
5 existing vulnerabilities detected
Details
Reason
Found 8/30 approved changesets -- score normalized to 2
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
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
Score
Last Scanned on 2024-12-16
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