pir

piranha

A super fantastic solution for managing data in your app - based on Waterline

Showing:

Popularity

Downloads/wk

3

Maintenance

No Maintenance Data Available

Package

Dependencies

3

Size (min+gzip)

256.3KB

License

Apache-2.0

Type Definitions

Tree-Shakeable

No?

Categories

Readme

piranha Build Status

NPM

Piranha is a super fantastic solution for implementing the amazing Waterline ORM into non-Sails Node apps.

Install

$ npm install --save pirahna

Usage

var piranha = require("piranha");
    
var collections = {
  user: {
    connection: 'tmp',
    attributes: {
      'name': 'string',
      'env': 'string'
    }
  }
};

var connections = {
  tmp: {
    adapter: 'sails-disk'
  }
};

pirahna({
  collections: collections, 
  connections: connections
}, function(err, waterline) {
  // Proceed to use Waterline like normal
});

License

Apache 2.0 © Joshua Beitler

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100