Get Advice Icon

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

LokiJS
LokiJS

11
16
+ 1
1
Sequelize
Sequelize

255
214
+ 1
37
Add tool

LokiJS vs Sequelize: What are the differences?

Developers describe LokiJS as "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. On the other hand, Sequelize is detailed as "Easy-to-use multi sql dialect ORM for Node.js & io.js". Sequelize is a promise-based ORM for Node.js and io.js. It supports the dialects PostgreSQL, MySQL, MariaDB, SQLite and MSSQL and features solid transaction support, relations, read replication and more.

LokiJS belongs to "In-Memory Databases" category of the tech stack, while Sequelize can be primarily classified under "Object Relational Mapper (ORM)".

LokiJS and Sequelize are both open source tools. It seems that Sequelize with 18.9K GitHub stars and 2.99K forks on GitHub has more adoption than LokiJS with 4.91K GitHub stars and 387 GitHub forks.

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 Sequelize?

Sequelize is a promise-based ORM for Node.js and io.js. It supports the dialects PostgreSQL, MySQL, MariaDB, SQLite and MSSQL and features solid transaction support, relations, read replication and more.
Get Advice Icon

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

Why do developers choose LokiJS?
Why do developers choose Sequelize?

Sign up to add, upvote and see more prosMake informed product decisions

    Be the first to leave a con
      Be the first to leave a con
      What companies use LokiJS?
      What companies use Sequelize?
        No companies found

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

        What tools integrate with LokiJS?
        What tools integrate with Sequelize?

        Sign up to get full access to all the tool integrationsMake informed product decisions

        What are some alternatives to LokiJS and Sequelize?
        Redis
        Redis is an open source, BSD licensed, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.
        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.
        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.
        See all alternatives
        Decisions about LokiJS and Sequelize
        No stack decisions found
        Interest over time
        Reviews of LokiJS and Sequelize
        No reviews found
        How developers use LokiJS and Sequelize
        Avatar of Ralic Lo
        Ralic Lo uses SequelizeSequelize

        Used it for full stack web application development, especially to interact with MySQL/ MariaDB / PostgreSQL server.

        Avatar of Mathieu Lory
        Mathieu Lory uses LokiJSLokiJS

        LokiJS handle in-memory database store for configs, users..

        Avatar of toby lin
        toby lin uses SequelizeSequelize

        ORM for mysql with express. so far so good

        How much does LokiJS cost?
        How much does Sequelize cost?
        Pricing unavailable
        Pricing unavailable
        News about LokiJS
        More news
        News about Sequelize
        More news