Need advice about which tool to choose?Ask the StackShare community!

LokiJS

26
50
+ 1
3
Pouchdb

119
231
+ 1
6
Add tool

LokiJS vs Pouchdb: What are the differences?

What is LokiJS? In-memory JavaScript Datastore with Persistence. LokiJS is a document oriented database written in javascript, published under MIT License. Its purpose is to store javascript objects as documents in a nosql fashion and retrieve them with a similar mechanism. Runs in node (including cordova/phonegap and node-webkit), nativescript and the browser.

What is Pouchdb? Open-source JavaScript database inspired by Apache CouchDB that's designed to run well within the browser. PouchDB enables applications to store data locally while offline, then synchronize it with CouchDB and compatible servers when the application is back online, keeping the user's data in sync no matter where they next login.

LokiJS can be classified as a tool in the "In-Memory Databases" category, while Pouchdb is grouped under "Databases".

LokiJS and Pouchdb are both open source tools. Pouchdb with 12.1K GitHub stars and 1.21K forks on GitHub appears to be more popular than LokiJS with 4.95K GitHub stars and 389 GitHub forks.

Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of LokiJS
Pros of Pouchdb
  • 3
    Can query the objects directly
  • 2
    Offline cache
  • 1
    JSON
  • 1
    Very fast
  • 1
    Free
  • 1
    Repication

Sign up to add or upvote prosMake informed product decisions

What is LokiJS?

LokiJS is a document oriented database written in javascript, published under MIT License. Its purpose is to store javascript objects as documents in a nosql fashion and retrieve them with a similar mechanism. Runs in node (including cordova/phonegap and node-webkit), nativescript and the browser.

What is Pouchdb?

PouchDB enables applications to store data locally while offline, then synchronize it with CouchDB and compatible servers when the application is back online, keeping the user's data in sync no matter where they next login.

Need advice about which tool to choose?Ask the StackShare community!

What companies use LokiJS?
What companies use Pouchdb?
See which teams inside your own company are using LokiJS or Pouchdb.
Sign up for StackShare EnterpriseLearn More

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with LokiJS?
What tools integrate with Pouchdb?
What are some alternatives to LokiJS and Pouchdb?
Redis
Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache, and message broker. Redis provides data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs, geospatial indexes, and streams.
SQLite
SQLite is an embedded SQL database engine. Unlike most other SQL databases, SQLite does not have a separate server process. SQLite reads and writes directly to ordinary disk files. A complete SQL database with multiple tables, indices, triggers, and views, is contained in a single disk file.
NeDB
Embedded persistent or in memory database for Node.js, nw.js, Electron and browsers, 100% JavaScript, no binary dependency. API is a subset of MongoDB's and it's plenty fast.
MongoDB
MongoDB stores data in JSON-like documents that can vary in structure, offering a dynamic, flexible schema. MongoDB was also designed for high availability and scalability, with built-in replication and auto-sharding.
IndexedDB
This API uses indexes to enable high-performance searches of this data. While Web Storage is useful for storing smaller amounts of data, it is less useful for storing larger amounts of structured data.
See all alternatives