npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@quicknode/sdk

v2.4.0

Published

A SDK from [QuickNode](https://www.quicknode.com/) making it easy for developers to interact with QuickNode's services.

Downloads

4,391

Readme

QuickNode SDK

A SDK from QuickNode making it easy for developers to interact with QuickNode's services.

QuickNode's SDK is a JavaScript and TypeScript framework-agnostic library that supports both CommonJS and ES module systems.

:grey_question: We want to hear from you! Please take a few minutes to fill out our QuickNode SDK feedback form and let us know what you currently think about the SDK. This helps us further improve the SDK.

Coverage Status npm npm Maintenance License GitHub issues Discord

Getting Started

Installation

  • Requires Node.js v16 or higher
  • npm install @quicknode/sdk or yarn add @quicknode/sdk

Quickstart

import Core from '@quicknode/sdk/core';

const core = new Core({ endpointUrl: 'replaceme' });

const blockNumber = core.client.getBlockNumber().then((response) => console.log(response));

Full example app implementation here

Documentation

Please see the official QuickNode SDK documentation for the full documentation of SDK functions.

Contributing corner

Issues

Please submit any issues or feature requests as an issue in Github.

Development

We recommend using the example application to develop

  1. In qn-oss monorepo root directory, run yarn install
  2. cd packages/apps/examples/sdk-api from qn-oss monorepo root
  3. cp .env.example .env and add api key
  4. nx serve apps-examples-sdk-api
  5. Then you can send requests to the API, for example: curl http://localhost:3333/api/nftsByAddress/0xbc08dadccc79c00587d7e6a75bb68ff5fd30f9e0

Running tests

Run nx test libs-sdk to execute the tests via Jest.

API responses are recorded using polly.js. You can re-record live requests by passing in an API key, copy .env.test.example to .env.test and fill out with your API key.

Running linting

Run nx lint libs-sdk to execute the lint via ESLint.