npm.io
0.8.24 • Published 2 years ago

@wizzi/repo

Licence
—
Version
0.8.24
Deps
16
Size
679 kB
Vulns
4
Weekly
0

@wizzi/repo

Ittf documents repository manager for the wizzi factory.

Work still in progress

Availability of features will be announced

on Twitter and Facebook

Features

* Filesystem ittf documents store 
* MongoDb ittf documents store 
Interface
repo.createStoreFactory(
options,
callback
);
Options

storeKind oneOf 'filesystem', 'mongodb'
storeUri when storeKind == 'mongodb'

the uri of the mongodb instance

storeBaseFolder when storeKind == 'mongodb'

the virtual filesystem base folder

Returns

A function that can be called to obtain awizzi-repo.ittfDocumentStoreinterface.

Usage
var repo = require('@wizzi/repo');

...

repo.createStoreFactory(
{
storeKind: 'filesystem'
},
function (err, createStore) {
}
);

Wizzi

One machinery, many productions.

Project page

Built With

* [Nodejs](https://nodejs.org)

* [Wizzi](https://github.com/stfnbssl/wizzi)

License

This project is licensed under the MIT License - see the license.txt for details.