asimplia-repository
TypeScript icon, indicating that this package has built-in type declarations

0.6.63 • Public • Published

Module Repository

module for work with data in repositories

Usage

npm install git+https://github.com/Asimplia/module-repository.git --save

Javascript

var Repository = require('asimplia-repository');
// Connection to Databases
Repository.connectMongoDB('mongodb://localhost:27017/test');
Repository.connectPostgres('postgres://postgres@localhost/test');
Repository.connectNeo4j('http://localhost:7474/');

TypeScript

/// <reference path="./path/to/asimplia-repository/index.d.ts" />
import Repository = require('asimplia-repository');
// Connection to Databases
Repository.connectMongoDB('mongodb://localhost:27017/test');
Repository.connectPostgres('postgres://postgres@localhost/test');
Repository.connectNeo4j('http://localhost:7474/');

Documentation

Look at ./tests/ for full API of module

Development

npm install
grunt dev

Test

npm test

Used database systems:

  • MongoDB
  • PostgreSQL
  • Neo4j

System Dependencies

  • Node.js >= 0.10.15
  • Npm package system >= 1.2.18

Readme

Keywords

none

Package Sidebar

Install

npm i asimplia-repository

Weekly Downloads

73

Version

0.6.63

License

none

Last publish

Collaborators

  • misak113