node-persist - Super-easy persistent data structures in Node.js

  •        23

Node-persist doesn't use a database. Instead, JSON documents are stored in the file system for persistence. Because there is no network overhead, node-persist is just about as fast as a database can get. Node-persist uses the HTML5 localStorage API, so it's easy to learn. This is still a work in progress. Send pull requests please.

https://github.com/simonlast/node-persist

Dependencies:

is-absolute : ^0.2.6
mkdirp : ~0.5.1

Tags
Implementation
License
Platform

   




Related Projects

vuex-persistedstate - 💾 Persist Vuex state with localStorage.

  •    Javascript

Persist Vuex state with localStorage. reducer <Function>: A function that will be called to reduce the state to persist based on the given paths. Defaults to include the values.

redux-persist - persist and rehydrate a redux store

  •    Javascript

Persist and rehydrate a redux store. Basic usage involves adding persistReducer and persistStore to your setup. IMPORTANT Every app needs to decide how many levels of state they want to "merge". The default is 1 level. Please read through the state reconciler docs for more information.

electron-store - Simple data persistence for your Electron app or module - Save and load user preferences, app state, cache, etc

  •    Javascript

Electron doesn't have a built-in way to persist user preferences and other data. This module handles that for you, so you can focus on building your app. The data is saved in a JSON file in app.getPath('userData').You can use this module directly in both the main and renderer process.


local-persist - Create named local volumes that persist in the location(s) you want

  •    Go

In Docker 1.9, they added support for creating standalone named Volumes. Now with Docker 1.10 and Docker Compose 1.6's new syntax, you can create named volumes through Docker Compose.This is great for creating standalone volumes and easily connecting them to different directories in different containers as a way to share data between multiple containers. On a much larger scale, it also allows for the use of Docker Volume Plugins to do cool things like Flocker is doing (help run stateful containers across multiple hosts).

Disk - Delightful framework for iOS to easily persist structs, images, and data

  •    Swift

Disk is a powerful and simple file management library built with Apple's iOS Data Storage Guidelines in mind. Disk uses the new Codable protocol introduced in Swift 4 to its utmost advantage and gives you the power to persist structs without ever having to worry about encoding/decoding. Disk also helps you save images and other data types to disk with as little as one line of code. Disk requires iOS 9+ and is compatible with projects using Swift 4.0 and above. Therefore you must use at least Xcode 9 when working with Disk.

node-persist - Node.js ORM framework supporting MySQL and SQLite 3 relational databases.

  •    Javascript

Node.js ORM framework supporting MySQL and SQLite 3 relational databases.

sql.js - SQLite compiled to JavaScript through Emscripten

  •    Javascript

sql.js is a port of SQLite to JavaScript, by compiling the SQLite C code with Emscripten. It uses a virtual database file stored in memory, and thus doesn't persist the changes made to the database. However, it allows you to import any existing sqlite file, and to export the created database as a javascript typed array. There is no C bindings or node-gyp compilation here, sql.js is a simple javascript file, that can be used like any traditional javascript library. If you are building a native application in javascript (using Electron for instance), or are working in node.js, you will likely prefer to use a native binding of SQLite to javascript.

k3os - Purpose built OS for Kubernetes, fully managed by Kubernetes.

  •    Go

k3OS is a Linux distribution designed to remove as much as possible OS maintenance in a Kubernetes cluster. It is specifically designed to only have what is need to run k3s. Additionally the OS is designed to be managed by kubectl once a cluster is bootstrapped. Nodes only need to join a cluster and then all aspects of the OS can be managed from Kubernetes. Both k3OS and k3s upgrades are handled by the k3OS operator. Download the ISO from the latest release and run in VMware, VirtualBox, or KVM. The server will automatically start a single node Kubernetes cluster. Log in with the user rancher and run kubectl. This is a "live install" running from the ISO media and changes will not persist after reboot.

electron-json-storage - :package: Easily write and read user settings in Electron apps

  •    Javascript

Electron lacks an easy way to persist and read user settings for your application. electron-json-storage implements an API somehow similar to localStorage to write and read JSON objects to/from the operating system application data directory, as defined by app.getPath('userData'). You can require this module from either the main or renderer process (with and without remote).

node-continuation-local-storage - implementation of https://github.com/joyent/node/issues/5243

  •    Javascript

Continuation-local storage works like thread-local storage in threaded programming, but is based on chains of Node-style callbacks instead of threads. The standard Node convention of functions calling functions is very similar to something called "continuation-passing style" in functional programming, and the name comes from the way this module allows you to set and get values that are scoped to the lifetime of these chains of function calls. When you set values in continuation-local storage, those values are accessible until all functions called from the original function – synchronously or asynchronously – have finished executing. This includes callbacks passed to process.nextTick and the timer functions (setImmediate, setTimeout, and setInterval), as well as callbacks passed to asynchronous functions that call native functions (such as those exported from the fs, dns, zlib and crypto modules).

persist-js - PersistJS is a JavaScript client-side persistent storage library

  •    Javascript

PersistJS is a JavaScript client-side persistent storage library

Silverlight offline database

  •    Silverlight

This project is about creating an offline database storage in Silverlight to persist data when user is offline. It consists of a sample of how to build a simple local database in Silverlight using Isolated Storage and LINQ. Please share your thoughts regarding additional fea...

azure-storage-node - Microsoft Azure Storage SDK for Node.js

  •    Javascript

This project provides a Node.js package and a browser compatible JavaScript Client Library that make it easy to consume and manage Microsoft Azure Storage Services.If you are looking for the Node.js SDK for other Azure services, visit https://github.com/Azure/azure-sdk-for-node.

tus-node-server - Node.js tus server

  •    Javascript

tus is a new open protocol for resumable uploads built on HTTP. This is the tus protocol 1.0.0 node.js server implementation. ⚠️ Attention: We currently lack the resources to properly maintain tus-node-server. This has the unfortunate consequence that this project is in rather bad condition (out-dated dependencies, no tests for the S3 storage, no resumable uploads for the GCS storage etc). If you want to help us with tus-node-server, we are more than happy to assist you and welcome new contributors. In the meantime, we can recommend tusd as a reliable and production-tested tus server. Of course, you can use tus-node-server if it serves your purpose.

globalconf - Persist flag values into an ini file

  •    Go

Effortlessly persist/retrieve flags of your Golang programs. If you need global configuration instead of requiring user always to set command line flags, you are looking at the right package. globalconf allows your users to not only provide flags, but config files and environment variables as well.By default, globalconf provides you a config file under ~/.config/<yourappname>/config.ini.

my-style - My Style is a Google Chrome extension that allows you to insert custom CSS into pages, immediately see the visual results, and have that CSS persist for future visits

  •    Javascript

My Style is a Google Chrome extension that allows you to insert custom CSS into pages, immediately see the visual results, and have that CSS persist for future visits. This CSS will be reinserted upon revisiting Techcrunch, thereby saving your styles. Pressing control + m once more will hide the textarea, but your contents will still be retained.

React-Todo

  •    HTML

Persist your data in window.localStorage() hint: you may have to pass your data to a stringifier to get it to live inside the localStorage() of the browser. This will cause it to persist past the page refresh. Search Functionality Add a input bar that allows you to search through your tasks and only show the ones that match the search input.

react-native-simple-store - A minimalistic wrapper around React Native's AsyncStorage.

  •    Javascript

A minimalistic wrapper around React Native's AsyncStorage. The react-native-simple-store is a good match for apps that are not using redux. If you have already found that your app needs to use redux and you need to persist data to the device it is recommended that you make use of redux-persist which provides a clean interface for storing data in your reducers to device.