
Security News
NIST Under Federal Audit for NVD Processing Backlog and Delays
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
json-simplified
Advanced tools
Simple JSON Database
Created By: OneAndonlyFinbar
Discord: Finbar#0001
Email: finbar@finbar.xyz
Documentation: https://jsonsimplified.finbar.xyz/
const { Database } = require('json-simplified');
const db = new Database('versionsDatabase');
db.set('version', '1.0');
db.get('version') // 1.0
const db = new Database('DatabaseName', {DatabaseOptions});
db.set('Field/Path', 'Data');
db.get('Field/Path'); // Data
// Using Field Names
db.set('latestVersion', '1');
db.get('latestVersion'); // 1
// Using JSON Paths
db.set('versions.latest', '1');
db.get('versions.latest'); // 1
// Delete data using field name
db.delete('latestVersion');
// Delete Data Using JSON Path
db.delete('versions.latest');
// Destroy database
db.destroy();
db.set('Finbar', {name: 'Finbar', gender: 'male', occupation: 'freelance programmer'});
db.get('users', 'Finbar'); // {name: 'Finbar', gender: 'male', occupation: 'freelance programmer'}
db.set('Finbar.name', 'Finbar');
db.set('Finbar.gender', 'Male');
db.set('Finbar.occupation', 'freelance programmer');
db.get('Finbar'); // {name: 'Finbar', gender: 'male', occupation: 'freelance programmer'}
db.get('users', 'Finbar.name'); // Finbar
Option | Type | Description |
---|---|---|
overwriteOld | boolean | Create a new database file, whether or not one exists. |
registry | string | Registry/directory for the database files to be placed in. |
FAQs
Basic json database.
The npm package json-simplified receives a total of 0 weekly downloads. As such, json-simplified popularity was classified as not popular.
We found that json-simplified demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
Research
Security News
Socket’s Threat Research Team has uncovered 60 npm packages using post-install scripts to silently exfiltrate hostnames, IP addresses, DNS servers, and user directories to a Discord-controlled endpoint.
Security News
TypeScript Native Previews offers a 10x faster Go-based compiler, now available on npm for public testing with early editor and language support.