🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@cayleygraph/cayley

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cayleygraph/cayley

JavaScript client for Cayley

latest
Source
npmnpm
Version
1.2.1
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
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

linked-data

FAQs

Package last updated on 18 Nov 2019

Did you know?

Socket

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