Zealot is a futurist MongoDB library for Node.js 7+ that provides a proxy-based API allowing CRUD operations via property assignment and deletion syntax. It wraps the MongoDB driver's native API (db.collection, findOne, update, deleteOne, drop) with async/await support. As of v0.2.0, it is in early development with limited features and no connection pooling or advanced query capabilities. It offers a unique syntactic style but sacrifices clarity and is not recommended for production use. Release cadence is unknown; last published 2016.
npm install zealotNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates open connection, insert via assignment, findOne, update via property set, delete document, and drop collection.
Always use await when assigning or deleting to trigger the database operation.
Use zealot[collectionName] where collectionName is a string variable.
Upgrade to Node.js 7+ or use a transpiler like Babel.
Consider using the official MongoDB driver (mongodb) or Mongoose for production.
Add 'const zealot = require('zealot')' or 'import zealot from 'zealot'' at the top.Ensure require('zealot') returns the correct object.Wrap code in an async function.