0.1.0 • Published 9 years ago

basyt-cli v0.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

basyt-cli

This package enables basyt entities to be used in command line applications. You still need adapter package i.e. basyt-mongo-collection to be installed besides basyt-cli.

Installation

$ npm install basyt-cli
$ npm install basyt-mongodb-collection

Quick Start

var basytCli = require('basyt-cli'),
    config = require('./config');

var basyt = new basytCli();

// you can access collections over basyt instances collections property.
// for instance, to access 'project' collection
basyt.collections['project'].read({name: 'sample project'}).then( /* ... */ );