Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@rss3/js-sdk

Package Overview
Dependencies
Maintainers
3
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rss3/js-sdk

index-sdk is designed to simplify the development process and enable developers to interact with RSS3 API efficiently

  • 0.4.0
  • npm
  • Socket score

Version published
Weekly downloads
10
increased by150%
Maintainers
3
Weekly downloads
 
Created
Source

index-sdk

index-sdk is designed to simplify the development process and enable developers to interact with RSS3 API efficiently

Usage

# npm
npm i index-sdk

# yarn
yarn add index-sdk

# pnpm
pnpm add index-sdk

If you want to customize the endpoint, you can:

import { IndexClient } from 'index-sdk'

const index = new IndexClient({ endpoint: { data: 'https://test-pregod.rss3.dev/v1' } })

And of course you can also use all of fetch options (RequestInit).

Examples

Get all of Vitalik's profiles on Web3

import { IndexClient } from 'index-sdk'

const index = new IndexClient()

const { result: profiles } = await index.profiles.get('vitalik.eth')

Now you know where to find Vitalik!

Get all notes posted by DIYgod on xLog

import { IndexClient } from 'index-sdk'

const index = new IndexClient()

const { result: notes } = await index.notes.get('diygod.eth', {
  platform: ['xLog']
})

Now you can even use xLog as a headless CMS

FAQs

Package last updated on 30 Jun 2023

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc