All Projects → DiegoRBaquero → node-v

DiegoRBaquero / node-v

Licence: MIT license
🔒 Secure ❄️ Synchronized ⚡️ Realtime ☁️ Cloud 🌈 Native JavaScript Variables & Events

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to node-v

Monstache
a go daemon that syncs MongoDB to Elasticsearch in realtime
Stars: ✭ 736 (+2625.93%)
Mutual labels:  sync, synchronization, realtime
React Scroll Sync
Synced scroll position across multiple scrollable elements
Stars: ✭ 252 (+833.33%)
Mutual labels:  sync, synchronization
Realmcontent
Light Realm-powered content management system
Stars: ✭ 237 (+777.78%)
Mutual labels:  sync, realtime
Video-Engine-Dash
A Dash plugin for playing back video and optionally syncing video to timestamped CSV Data
Stars: ✭ 26 (-3.7%)
Mutual labels:  sync, realtime
Llvs
Low-Level Versioned Store
Stars: ✭ 193 (+614.81%)
Mutual labels:  sync, synchronization
Amazonriver
amazonriver 是一个将postgresql的实时数据同步到es或kafka的服务
Stars: ✭ 198 (+633.33%)
Mutual labels:  sync, realtime
TabSync
A lightweight synchronizer between Android's Tabs and Lists. Available on the View system and Jetpack Compose.
Stars: ✭ 98 (+262.96%)
Mutual labels:  sync, synchronization
Cloudcore
Framework that enables syncing between iCloud (CloudKit) and Core Data
Stars: ✭ 146 (+440.74%)
Mutual labels:  sync, synchronization
synchly
Automate database backups with customizable recurring schedules.
Stars: ✭ 27 (+0%)
Mutual labels:  sync, synchronization
code-sync
Collaborative cloud platform for students, teachers, and professionals.
Stars: ✭ 28 (+3.7%)
Mutual labels:  sync, synchronization
twilio-taskrouter-realtime-dashboard
Twilio TaskRouter Realtime Dashboard using Sync
Stars: ✭ 51 (+88.89%)
Mutual labels:  sync, realtime
Remotestorage.js
⬡ JavaScript client library for integrating remoteStorage in apps
Stars: ✭ 2,155 (+7881.48%)
Mutual labels:  sync, synchronization
Rats
Movie Ratings Synchronization with Python
Stars: ✭ 156 (+477.78%)
Mutual labels:  sync, synchronization
Realm Cocoa
Realm is a mobile database: a replacement for Core Data & SQLite
Stars: ✭ 14,778 (+54633.33%)
Mutual labels:  sync, realtime
Gitconverter
Синхронизация хранилища конфигурации "1С:Предприятия" с репозиторием Git и последующим переходом на разработку в 1C:Enterprise Development Tools (1C:EDT) с сохранением истории
Stars: ✭ 149 (+451.85%)
Mutual labels:  sync, synchronization
jsynchronous
Jsynchronous.js - Data synchronization for games and real-time web apps.
Stars: ✭ 111 (+311.11%)
Mutual labels:  synchronization, realtime
py-mongo-sync
Oplog-based data sync tool that synchronizes data from a replica set to another deployment, e.g.: standalone, replica set, and sharded cluster.
Stars: ✭ 102 (+277.78%)
Mutual labels:  sync, realtime
Syncthing Macos
Frugal and native macOS Syncthing application bundle
Stars: ✭ 1,096 (+3959.26%)
Mutual labels:  sync, synchronization
Outlookgooglecalendarsync
Sync your Outlook and Google calendars
Stars: ✭ 1,113 (+4022.22%)
Mutual labels:  sync, synchronization
DeviceSync-for-OS-X
Calendar synchronization between iOS and OS X using USB
Stars: ✭ 12 (-55.56%)
Mutual labels:  sync, synchronization

V Logo

🔒 Secure ❄️ Synchronized ⚡️ Realtime ☁️ Cloud 🌈 Native JavaScript Variables & Events

npm downloads Greenkeeper badge Build Status codecov
NSP Status Known Vulnerabilities

V extends your in-memory variables to also be saved/persisted instantly. Variables are instantly synchronized between all running instances of V in a room. When you (re)start in a room, variables and constants are reloaded/rehydrated automatically.

Current Features

  • Keep your variables in the cloud
  • Sync variables between instances
  • Automatic reloaded/rehydrated on start-up

Requires ES6 Proxy (Node 6+ and new browsers)

Coming Soon:

  • Web GUI
  • History - Time machine
  • Events pub/sub

Install

Node

npm install --save v
or
npm i -S v

Browser

jsDelivr CDN:

<script src="https://cdn.jsdelivr.net/npm/v@latest/v.min.js"></script>

Unpkg CDN:

<script src="https://unpkg.com/v/v.min.js"></script>

More CDNs coming soon

API

Constructor (3 Ways to do it)

If no roomId is passed, a new one will be assigned automatically and printed in the console.

NodeJS only with deasync support
const V = require('v')
const v = new V([roomId])
Callback
const V = require('v')
V([roomId,] v => {
  ...
})
Promise
const V = require('v')
V([roomId]).then(v => {
  ...
}).catch(e => {
  ...
})

Custom Opts

The opts object has the following options and their default options listed

myOpts = {
  roomId: '',
  server: 'ws(s)://my-domain.com'
}

Use it:

const v = new V(myOpts)

Debug logs

V comes with extensive debugging logs. Each V instance and constructor-call has it own debug namespace.

In node, enable debug logs by setting the DEBUG environment variable to *

DEBUG=* node myProgram.js

In the browser, enable debug logs by running this in the developer console:

localStorage.debug = '*'

Disable by running this:

localStorage.removeItem('debug')

License

MIT Copyright © Diego Rodríguez Baquero

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].