Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

seneca-seraph

1.0.1 • Public • Published

SenecaSeraph

Seneca plugin for Seraph Library to connect a Neo4j Database.

Install

npm install seneca-seraph

Options

See plugin options here

Plugin Interface

seneca.seraph
  • Methods and properties list here

Quick Example

const Seneca = require('Seneca')
const SenecaSeraphPlugin = require('seneca-seraph')
 
const seneca = Seneca()
  .use(SenecaSeraphPlugin, {
    pass: '1q2w3e4r'
  }).ready((err) => {
    if (err) throw err
    seneca.seraph.query('MATCH (n) RETURN n;', (err, result) => {
      if (err) throw err
      console.log('Seraph result', result)
    })
  })

install

npm i seneca-seraph

Downloadsweekly downloads

1

version

1.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability