Skip to content

WarpWorks/warpjs-mongo-persistence

Repository files navigation

WarpWors/mongo-persistence

MongoDB persistence for WarpJS

Install

npm install --save @warp-works/mongo-persistence

Usage

const Persistence = require('@warp-works/warpjs-mongo-persistence');
const persistence = new Persistence('some-host', 'db-name');

persistence.documents('collection-name')
    .then(console.log)
    .finally(() => {
        persistence.close();
    });

Also see WarpJS-Persistence interface for more details.

About

MongoDB implementation of the persistence layer

Resources

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •