@signaldb/vue

This is the Vue.js plugin for SignalDB. SignalDB is a local-first JavaScript database with real-time sync, enabling optimistic UI with signal-based reactiv
5,166 687
Install
npm install @signaldb/vue
Latest Version:1.0.0
Vue:3
License:MIT
Last Updated:Oct 23, 2026
Links: GitHub  ·  npm
Maintainer: maxnowack

SignalDB Logo

Current Version Status Checks TypeScript Coverage License Stargazers

Getting Started | Reference

SignalDB

SignalDB is a client-side database optimized for modern web applications. It provides an optimistic UI for creating responsive and dynamic interfaces, a MongoDB-like interface for familiarity, and robust TypeScript support to ensure type safety and accelerate development. SignalDB enables versatile local data persistence with support for various storage providers and facilitates real-time updates by gathering and synchronizing data from multiple sources. Its framework-agnostic design makes it suitable for projects of any scale, offering instant data access with minimal latency, which is ideal for applications requiring fast data handling and real-time interactions. Adapters are available for popular reactive libraries, including Angular, React, Solid, Svelte and Vue.js.

Installation

  $ npm install @signaldb/core

Usage

import { Collection } from '@signaldb/core'

const Posts = new Collection()
const postId = await Posts.insert({ title: 'Foo', text: 'Lorem ipsum …' })

await Posts.updateOne({ id: postId }, { // updates the post
  $set: {
    title: 'New title',
  }
})

await Posts.removeOne({ id: postId }) // removes the post

const cursor = Posts.find({})

// returns an array with all documents in the collection
// reruns automatically in a reactive context
console.log(cursor.fetch())

See the documentation for more information.

License

Licensed under MIT license. Copyright (c) 2024 Max Nowack

Contributions

Contributions are welcome. Please open issues and/or file Pull Requests. See Contributing.md to get started.

Troubleshooting

If you encounter any issues, there are several ways to get support.

Related Packages

megamap

Extended JavaScript Map with caching, loading, expiry features... and more

1,116 3
@cavulsqa/reactive-vue

Vue bindings for @cavulsqa/reactive-db: a reactive query composable, Framework7...

2,123 0
reactive-vscode

Develop VSCode extension with Vue Reactivity API

107,143 825
@electric-sql/pglite-vue

Vue hooks for using PGlite

24,857 16,184
@lytjs/reactivity

LytJS reactive system - signals, refs, computed, watch, and effects

7,500

Version History

Version Released Vue License
1.0.0 3.x.x MIT
Pre-releases (24)
Version Released Vue License
2.0.0-rc.0 3.x.x MIT
2.0.0-beta.24 3.x.x MIT
2.0.0-beta.23 3.x.x MIT
2.0.0-beta.22 3.x.x MIT
2.0.0-beta.21 3.x.x MIT