
Product
Introducing Scala and Kotlin Support in Socket
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.
FiloDB is a lightweight JSON file-based database built with Node.js. It’s ideal for small projects, prototyping, CLI tools, or educational purposes where a full database engine is not necessary.
npm install filodb
import FiloDB from 'filodb';
const db = new FiloDB('./myDB.json'); // Relative to the project root (where package.json is)
await db.insert({ name: 'Alice' }, { name: 'Bob' });
const result = await db.get({ name: 'Alice' });
console.log(result);
await db.update({ name: 'Alice' }, { name: 'Eve' });
await db.delete({ name: 'Bob' });
Keep in mind that every method, except for Zenith.prototype.get
returns the FiloDB
instance, allowing method chaining.
new FiloDB(path?: string)
Creates a new instance. If the file doesn't exist, it will be automatically created.
insert(...data: Record<string, any>[])
Inserts one or more records.
get(query: Record<string, any>, limit?: number)
Returns an array of records matching the query. Optionally limit the number of results.
update(query: Record<string, any>, updatedData: Record<string, any>)
Updates all records matching the query with the given data.
delete(query: Record<string, any>)
Deletes all records matching the query.
This project is licensed under the MIT License. See LICENSE for details.
FAQs
A lightweight easy to use database for your Node.js project.
The npm package filodb receives a total of 72 weekly downloads. As such, filodb popularity was classified as not popular.
We found that filodb 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.
Product
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.
Application Security
/Security News
Socket CEO Feross Aboukhadijeh and a16z partner Joel de la Garza discuss vibe coding, AI-driven software development, and how the rise of LLMs, despite their risks, still points toward a more secure and innovative future.
Research
/Security News
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.