Socket
Book a DemoInstallSign in
Socket

@cyberfly-io/client

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cyberfly-io/client

Official SDK for Cyberfly GraphQL API and pubsub

latest
Source
npmnpm
Version
1.2.2
Version published
Maintainers
1
Created
Source

cyberfly node client

import { CyberflySDK } from "@cyberfly-io/client";

const client = new CyberflySDK('https://node.cyberfly.io');

client.setSecretKey("your secret key");

client.subscribe("test")

client.onReceive((msg, topic)=>{
      console.log(topic)
      console.log(msg)
     })

const dbData = await client.readDB("/orbitdb/zdpuAzU5gpTmtSPUpHYZjHLQsWoWgaXLW388p6XssNubbBa2u");
console.log(dbData)

Usage Guide

See USAGE.md for full documentation and code examples covering:

  • Basic usage
  • Cryptography (key generation, mnemonic)
  • Messaging (subscribe, publish, send/receive)
  • Database and stream queries
  • GEO queries (distance, position, geohash, search)
  • Signing

Keywords

cyberfly

FAQs

Package last updated on 28 Aug 2025

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