Socket
Socket
Sign inDemoInstall

@cayleygraph/cayley

Package Overview
Dependencies
11
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @cayleygraph/cayley

JavaScript client for Cayley


Version published
Maintainers
1
Install size
3.07 MB
Created

Readme

Source

JavaScript Client for Cayley

Documentation

Installation

npm install @cayleygraph/cayley

Usage

Log 10 nodes from the graph
import * as cayley from "@cayleygraph/cayley";

const client = new cayley.Client();
const response = client.query(g.V().getLimit(10));
response
  .then(res => res.json())
  .then(nodes => {
    for (const node of nodes) {
      console.log(node);
    }
  });

Keywords

FAQs

Last updated on 18 Nov 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc