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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@readyio/ready-lib

v2.5.9

Published

Ready Lib

Downloads

115

Readme

Ready Lib

Installing Ready Lib for a project

  • Add ready lib dependencies via gitlab: Modify package.json as

    "dependencies": {
        "ready-lib": "git+https://git.cystack.org/ready/ready-lib.git"
    }
  • Install with npm

    npm install

    or with yarn

    yarn
  • Reintall library when there's new version

    npm install ready-lib -f

Usage

  • Import readylib to invoke essential methods. E.g., to get transaction history of a Polygon wallet:

    import {readylib} from '@readyio/ready-lib'
    const txns = await readylib.queryAllTransactions("0x1b0f42570c8b32a1023cb33e1a1eaa4a1f0d8d4a", readylib.ChainId.POLYGON, {
        limit: 20,
        from: "19964669",
        to: "19981387"
    })
  • On the other hand, exported methods and types can also be called directly without readylib import

Get started for developing Ready Lib

Prerequisite:

  1. Node.js
  2. Yarn/Npm
  3. pre-commit

Steps

  1. Download dependencies with yarn or npm

    yarn
    • Note that, as a library's perspective, package.json is the single source of truth and developers should not rely on package-lock.json or yarn.lock to re-create the same environment. A good practice is to delete those lock files & node_modules and then reinstall dependencies to test if package.json is good to go.
  2. Installing pre-commit hooks (for god's sake, we should avoid commiting & pushing those stealthy secrets asap)

    pre-commit install

Quick Nodes (todo: categorize these notes)

  • Use *.spec.ts for quickly testing our modules. We will add more cases in the future. The code base now is not in good coverage yet.
  • Put secrets concentrating in a place for easier ignoring pushing them.
  • For mock data that we're afraid of being catched by gitleaks, use .gitleaksignore

TODO:

Development Helpers

  1. add more tests (both happy & unhappy cases)
  2. auto install pre-commit hooks between team members
  3. config example folder for a greater usability
  4. add dependency bot for real-time alert

CI/CD

  1. run all unit tests before merging
  2. run examples as a test pipeline