LokiJS logo


In-memory JavaScript Datastore with Persistence
+ 1

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.
LokiJS is a tool in the In-Memory Databases category of a tech stack.
LokiJS is an open source tool with 6.7K GitHub stars and 476 GitHub forks. Here’s a link to LokiJS's open source repository on GitHub

Who uses LokiJS?


24 developers on StackShare have stated that they use LokiJS.
Pros of LokiJS
Can query the objects directly

LokiJS Alternatives & Comparisons

What are some alternatives to LokiJS?
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 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.
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.
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 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.
See all alternatives

LokiJS's Followers
55 developers follow LokiJS to keep up with related blogs and decisions.