@neuledge/mongodb-store
TypeScript icon, indicating that this package has built-in type declarations

0.2.1 • Public • Published

Neuledge MongoDB Store

A store for Neuledge Engine that uses MongoDB as the database backend.

📦 Installation

npm install @neuledge/mongodb-store

🚀 Getting started

import { Engine } from '@neuledge/engine';
import { MongoDBStore } from '@neuledge/mongodb-store';

const store = store: new MongoDBStore({
  url: process.env.MONGODB_URL ?? 'mongodb://localhost:27017',
  name: process.env.MONGODB_DATABASE ?? 'my-database',
});

const engine = new Engine({
  store,
});

For more information, please refer to the main repository.

📄 License

Neuledge is Apache 2.0 licensed.

Package Sidebar

Install

npm i @neuledge/mongodb-store

Weekly Downloads

9

Version

0.2.1

License

Apache-2.0

Unpacked Size

163 kB

Total Files

38

Last publish

Collaborators

  • moshe