@axesilo/avocado
TypeScript icon, indicating that this package has built-in type declarations

0.6.0 • Public • Published

Avocado

A simplified interface to the MongoDB Node.js driver.

Example usage:

import { Db } from "@axesilo/avocado";

new Db()
  .getAll("projects")
  .then((projects) => {
    console.log(projects);
    process.exit(0);
  })
  .catch(console.error);

Philosophy

  • Bias for the most common operations, setting reasonable defaults.
  • Use flexible types and class-based patterns over generics and strict typing. One of the advantages of using a NoSQL document store like MongoDB (over a relational database, say) is its flexibility.

Readme

Keywords

Package Sidebar

Install

npm i @axesilo/avocado

Weekly Downloads

1

Version

0.6.0

License

MIT

Unpacked Size

7.4 kB

Total Files

7

Last publish

Collaborators

  • axesilo