Comments (10)
sadly, this project is dead.
from nedb.
So I guess we have to use nodes fs module now?
from nedb.
So sad...
Looking for alternatives, I'm now trying Level/level (leveljs.org), a simple Node.js wrapper for LevelDB.
It is not the same... In fact it is totally another paradigm, but I think it can be a good replace.
from nedb.
i made a drop-in-replacement for myself: https://www.npmjs.com/package/@yetzt/nedb
from nedb.
@yetzt, thank you so very much for patching this.
from nedb.
Ok guys, what about this?
I'm coding a Koa server web app running on Microsoft Azure cloud, with a lot of CSV data imported to a local embeded NoSQL DB at build time, using data to populate server-side dynamic HTML and respond to API search requests.
It was developed with NeDB. Some users reported slow responses and I really noticed it with some tests.
But now I just droped NeDB and replaced it by a LevelDB wrapper and now the application is blazing fast.
I really feel the difference and testing with Lighthouse I can see a performance boost.
Maybe it is because LevelDB is a C++ lib (like SQLite is a C lib), running operations at low level, wrapped into NPM module.
I strongly recommend LevelDB, it works in other "level".
from nedb.
Ok guys, what about this?
I'm coding a Koa server web app running on Microsoft Azure cloud, with a lot of CSV data imported to a local embeded NoSQL DB at build time, using data to populate server-side dynamic HTML and respond to API search requests.
It was developed with NeDB. Some users reported slow responses and I really noticed it with some tests.
But now I just droped NeDB and replaced it by a LevelDB wrapper and now the application is blazing fast.
I really feel the difference and testing with Lighthouse I can see a performance boost.
Maybe it is because LevelDB is a C++ lib (like SQLite is a C lib), running operations at low level, wrapped into NPM module.
I strongly recommend LevelDB, it works in other "level".
Thanks, I was looking for an alternative since this project seems to have been abandoned
from nedb.
ich just checked out linvodb3, which was forked from nedb and uses level for data storage. looks pretty much like a drop in replacement to me.
from nedb.
@louischatriot Could you please look into this one? It is causing headaches for a project which depends on npm audits to pass.
from nedb.
Hello, I released a new version of nedb on my own fork to adress this issue:
https://github.com/rmanibus/nedb
release 1.9.0 can be found here:
https://www.npmjs.com/package/@rmanibus/nedb
It also support composite indexes:
model.ensureIndex({ fieldName: ["field", "field2"], unique: true }, function (err) {
if(err){
debug("DB error: " + err);
}
});
from nedb.
Related Issues (20)
- NeDB datastore Model needs to be provided
- update the version of underscore dependence! HOT 1
- How to search multiple feilds' "$and"? HOT 4
- Add link to "official" fork HOT 8
- "this library is no longer maintained" HOT 7
- Insert doesn't take place immediately HOT 2
- How to catch abort if the capacity of storage is full??
- $setOnInsert is not work??????
- high vulnerabilities for this package HOT 2
- Error: Cannot create a string longer than 0x1fffffe8 characters HOT 1
- Please update dependency underscore HOT 4
- files
- Data Loss HOT 1
- Request to move repo under NW Userland
- PLEASE !!! Fork this project and create a new one HOT 1
- How to use expireAfterSeconds?
- i have a probleme to photo to nedb db HOT 1
- Regarding the issue of writing permissions
- Update creates a duplicate with exact same _id HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nedb.