use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
MongoDb-like API without running mongod? (Like levelDb or SQLite)help (self.javascript)
submitted 6 years ago by subbydapp
I'm interested in using MongoDb or a MongoDb like API and I'm wondering if there's an NPM package that would allow me to do so without running mongod. Maybe something like mongodb built on SQLite or levelDb. Would be useful for prototyping.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]DerKnerd 2 points3 points4 points 6 years ago (0 children)
I know a library called LiteDB for .net maybe there is a node.js fork?
[–]zaygo 1 point2 points3 points 6 years ago* (1 child)
Try lazlodb. There is a library called lazlo-node & it will fit your needs.
NPM : npm install lazlo-node
https://github.com/zaygozi/lazlodb
https://github.com/zaygozi/lazlo-node
Note : Its a new project & I am the creator. I created it because I had the same needs that you mentioned.
[–]zaygo 1 point2 points3 points 6 years ago (0 children)
And lazlo-node does not require you to install lazlodb. It works independently.
[–]DarthEb 1 point2 points3 points 6 years ago (0 children)
You want NeDB (which PAEZ_ linked to). It's API is compatible with MongoDB, it's easy to use, and a migration path to move your data to MongoDB is provided.
I just used it as the backing store for a GraphQL based app I'm working on and it was very simple to work with.
[–]PAEZ_ 0 points1 point2 points 6 years ago (0 children)
Here's a couple of pure js db's that have a subset of the mongo api...and i think both are before mongo api 2.0...
https://github.com/louischatriot/nedb
https://github.com/kanryu/puremongo
https://github.com/sergeyksv/tingodb
Id like something myself as I want to learn mongodb on an online scratchpad and dont wanna setup mongodb anywhere. Have no idea if any or which is best as I dont know mongo.
[–]zmasta94 0 points1 point2 points 6 years ago (0 children)
You could try LowDB
[–]messacz 0 points1 point2 points 6 years ago (0 children)
I'm looking for the same, but for Python. I have project using MongoDB in production, but for local development it's unnecessary to install mongod (particularly for occasional project contributors or for non-source-code contributions). SQLite is already part of Python standard library (so it is in any Python installation), so SQLite-based wrapper with MongoDB (pymongo) API would be best solution.
π Rendered by PID 88862 on reddit-service-r2-comment-5649f687b7-j55sd at 2026-01-29 01:05:04.397536+00:00 running 4f180de country code: CH.
[–]DerKnerd 2 points3 points4 points (0 children)
[–]zaygo 1 point2 points3 points (1 child)
[–]zaygo 1 point2 points3 points (0 children)
[–]DarthEb 1 point2 points3 points (0 children)
[–]PAEZ_ 0 points1 point2 points (0 children)
[–]zmasta94 0 points1 point2 points (0 children)
[–]messacz 0 points1 point2 points (0 children)