Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
@alwatr/nitrobase-engine
Advanced tools
Nitrobase is a blazingly fast, lightweight database built on JSON. It stores data entirely in memory for lightning-quick access, while also providing a JSON file backup for persistence. You can easily serve your data over the web using our high-performanc
Extremely Fast and Compact JSON-Based In-Memory Database with Nginx Integration
Nitrobase is a blazingly fast, lightweight database built on JSON. It stores data entirely in memory for lightning-quick access, while also providing a JSON file backup for persistence. You can easily serve your data over the web using our high-performance accelerated Nginx server.
npm install @alwatr/nitrobase
import { AlwatrNitrobase, Region } from '@alwatr/nitrobase';
const alwatrStore = new AlwatrNitrobase({
rootPath: './db',
defaultChangeDebounce: 2_000,
});
const postsCollectionId = {
name: 'post',
region: Region.PerUser,
ownerId: 'user_123',
schemaVer: 2,
};
alwatrStore.newCollection(postsCollectionId);
const postsCollection = await alwatrStore.openCollection(postsCollectionId);
postsCollection.addItem('post1', {
title: 'My First Post',
content: 'This is the content of my first post.'
});
import { AlwatrNitrobase, Region } from '@alwatr/nitrobase';
const alwatrStore = new AlwatrNitrobase({
rootPath: './db',
defaultChangeDebounce: 2_000,
});
const docId = {
name: 'posts/my-first-post',
region: Region.Authenticated,
};
alwatrStore.newDocument(docId, {
title: 'My First Post',
content: 'This is the content of my first post.'
});
const myPost = await alwatrStore.openDocument(docId);
Explore the provided demo code (collection.mjs
, document.mjs
, benchmark.mjs
) to see Alwatr Nitrobase in action and gain a deeper understanding of its capabilities.
The following companies, organizations, and individuals support Nitrobase ongoing maintenance and development. Become a Sponsor to get your logo on our README and website.
Contributions are welcome! Please read our contribution guidelines before submitting a pull request.
This project is licensed under the AGPL-3.0 License.
7.4.0 (2024-11-08)
export
s based on the package
s name (4b1f241) by @mohammadhonarvarexports
& remove extra files (c406705) by @mohammadhonarvarFAQs
Nitrobase is a blazingly fast, lightweight database built on JSON. It stores data entirely in memory for lightning-quick access, while also providing a JSON file backup for persistence. You can easily serve your data over the web using our high-performanc
The npm package @alwatr/nitrobase-engine receives a total of 98 weekly downloads. As such, @alwatr/nitrobase-engine popularity was classified as not popular.
We found that @alwatr/nitrobase-engine demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.