graphqlcypherquery

2.0.77 • Public • Published

graphqlcypherquery

streaming rest api for neo4j using graphql

js-standard-style Greenkeeper badge

main.js:

var url = 'http://user:password@host:8476'
var query = require('graphqlcypherquery')(url)
var params = { name: 'Peter' }

q(`
  person() as p {
    properties {
      name,
      beer(relationship: ":likes") {
        properties {
          name,
          award(relationship: ":award") as awards {
            properties {
              name
            }
          }
        }
      }
    }
  }
`, params).on('data', console.log.bind(console))

install

npm install graphqlcypherquery

license

MIT

Package Sidebar

Install

npm i graphqlcypherquery

Weekly Downloads

0

Version

2.0.77

License

MIT

Last publish

Collaborators

  • jameskyburz