
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
@sidequest/sqlite-backend
Advanced tools
SQLite backend driver for the Sidequest job processing system. This is the default backend for development and testing due to its simplicity and zero-configuration setup. Not recommended for production use.
This package provides a SQLite implementation of the Sidequest backend interface, enabling you to use SQLite as the storage layer for your job queue. It offers all the features of Sidequest including job management, queue operations, statistics, and cleanup routines, while leveraging SQLite's simplicity, zero-configuration setup, and file-based storage.
The SQLite backend extends the SQLBackend
base class and provides optimized SQL queries for job processing, including atomic job claiming operations using SQLite transactions and efficient local file-based storage perfect for development, testing, and single-server deployments.
Install the SQLite backend package:
npm install @sidequest/sqlite-backend
You'll also need to install the main Sidequest package if you haven't already:
npm install sidequest
Configure Sidequest to use the SQLite backend:
import { Sidequest } from "sidequest";
await Sidequest.start({
backend: {
driver: "@sidequest/sqlite-backend",
config: "./sidequest.sqlite",
},
queues: [{ name: "default", priority: 10, workers: 2 }],
});
Default SQLite File:
backend: {
driver: '@sidequest/sqlite-backend',
config: './sidequest.sqlite'
}
Custom Database Path:
backend: {
driver: '@sidequest/sqlite-backend',
config: '/var/data/myapp.sqlite'
}
In-Memory Database (Testing):
backend: {
driver: '@sidequest/sqlite-backend',
config: ':memory:'
}
LGPL-3.0-or-later
FAQs
@sidequest/sqlite-backend is a SQLite backend for Sidequest, a distributed background job queue system.
The npm package @sidequest/sqlite-backend receives a total of 167 weekly downloads. As such, @sidequest/sqlite-backend popularity was classified as not popular.
We found that @sidequest/sqlite-backend demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.