
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
An embedded database for typescript and nodejs. Built as a tiny wrapper around leveldb.
An embedded database for typescript and nodejs. Built as a tiny wrapper around leveldb.
Depot DB is a performant database designed for embedded projects and low traffic web apps.
It has a different, yet familiar query language. Typescript.
In depot the "where" is a function that is passed all of the documents in the db. If the function returns true, the document is added to the collection, otherwise it is ignored.
The same goes for "sort". The sort function is passed two documents ("a" and "b") and returns a number determining which one goes first. If the sort function returns a number greater than zero "a" is at a higher index than "b", less than zero and "b" comes first. If it returns 0 they "a" and "b" equivelent.
npm i --save depot-db
import { Depot } from "depot-db";
// Define a document type
type Person = { firstname: string, lastname: string, age: number };
// Initialize a people database (Stored in /databases/people)
const people = new Depot<Person>("/databases/people");
// Store some people
people.put("John", { firstname: "John", lastname: "Doe", age: 32 });
people.put("Jane", { firstname: "Jane", lastname: "Doe", age: 32 });
people.put("Tim", { firstname: "Tim", lastname: "Burton", age: 59 });
people.put("Tony", { firstname: "Stark", lastname: "Doe", age: 45 });
// Query people
people.find({
where: person => person.age > 32
}).then(personsOlderThat32 => {
// personsOlderThat32 = [
// { firstname: "Tim", lastname: "Burton", age: 61 },
// { firstname: "Stark", lastname: "Doe", age: 53 }
// ];
});
// Find a person by their key (rejects if person is not found)
people.get("John").then(/** { firstname: "John", lastname: "Doe", age: 32 } */);
API documentation can be found here
FAQs
An embedded database for typescript and nodejs. Built as a tiny wrapper around leveldb.
We found that depot-db 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.