Socket
Socket
Sign inDemoInstall

marsdb

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

marsdb

Model-oriented embedded database, inspired by LinvoDB & MongoDB, over LevelUP interface


Version published
Weekly downloads
3.8K
decreased by-11.02%
Maintainers
1
Weekly downloads
 
Created
Source

MarsDB

Build Status npm version Coverage Status

MarsDB is a Node.js/NW.js/Electron persistent, promise base DB with MongoDB features and very close interface. It's originally base on LinvoDB3, which based on NeDB. Writen on ES6 and highly extendable.

Features:

  • Promise based
  • Carefully written on ES6
  • MongoDB-like query language
  • Flexible request pipeline – map, reduce, join, etc.
  • Object joins – simplest client-side joins ever
  • Persistence with interface, compiatble with LevelUP
  • NW.js/Electron friendly - JS-only backend is Medea
  • Performant - steady performance unaffected by DB size - queries are always indexed
  • Auto-indexing
  • Live queries - make the query, get constantly up-to-date results
  • Efficient Map / Reduce / Limit

Not supported query edge cases

Not all edge cases supported. See test/IndexMatcher.test.js for more info

  • $gt()e and $lt(e) object argumen. Only number argument works correctly
  • RegExp in document is not match anything
  • RegExp in selector in array not works (ex. {a: ['a', /b/i]})
  • Some null and undefined checks
  • Reguesting for documents with arrays with mixed types (ex. {a: [1, {a:2}, null]})

Status

Work in progress

License

See License

Keywords

FAQs

Package last updated on 19 Oct 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc