🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

@kodadot1/kodapi

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@kodadot1/kodapi

[![npm version][npm-version-src]][npm-version-href] [![npm downloads][npm-downloads-src]][npm-downloads-href] [![Github Actions][github-actions-src]][github-actions-href] [![Codecov][codecov-src]][codecov-href]

unpublished
latest
Source
npmnpm
Version
0.0.1-rc.1
Version published
Weekly downloads
0
Maintainers
2
Weekly downloads
 
Created
Source

@kodadot1/kodapi

npm version npm downloads Github Actions Codecov

GraphQL builder for KodaDot API

Usage

Install package:

# npm
npm install @kodadot1/kodapi

# yarn
yarn install @kodadot1/kodapi

# pnpm
pnpm install @kodadot1/kodapi

Import:

// ESM
import getClient from '@kodadot1/kodapi'

// CommonJS
const getClient = require('@kodadot1/kodapi')
const client = getClient('subquery')
const query = client.collectionListByIssuer('vikiival')

console.log(query)
{
  query: 'query  { collections: collectionEntities(filter: { issuer: { equalTo: vikiival } })  { nodes { id, metadata, currentOwner, issuer } } }',
  variables: {}
}

đź’» Development

  • Clone this repository
  • Enable Corepack using corepack enable (use npm i -g corepack for Node.js < 16.10)
  • Install dependencies using yarn install
  • Run interactive tests using yarn dev

License

Made with đź’›

Published under MIT License.

FAQs

Package last updated on 17 Mar 2022

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