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 🙏

© 2026 – Pkg Stats / Ryan Hefner

benjamin-sdk

v0.0.3

Published

An empty base template for publishing a React TS package to npmjs library.

Downloads

12

Readme

Benjamin SDK provides a simple way to integrate the DeFAI Layer—Benjamin’s intelligent assistant for DeFi and IPFi—into any React + TypeScript application.

It’s designed to help developers build user experiences that simplify complex financial interactions, enabling real-time guidance, on-chain insights, and intuitive access to DeFi and IPFi opportunities. With Benjamin, users can ask natural language prompts like “What’s the best way to stake today?” or “How do I license my content?” and get actionable answers instantly.

Features

  • 🧠 DeFAI Prompt Engine: Embed conversational DeFi/IPFi intelligence directly into your app, powered by natural language prompts and real-time response handling.
  • 📊 Live On-Chain & IPFi Data Integration: Access token prices, protocol metrics, staking options, licensing opportunities, and more—updated continuously from on-chain and API sources.
  • 🛠 Type-Safe Developer Toolkit: Built with React and TypeScript, ensuring type safety, modularity, and a smooth developer experience.
  • 📦 Optimized for npm Distribution: Rollup-powered build setup for efficient bundling and publishing.
  • 🔄 Continuous Learning Engine: Benjamin improves over time with user interaction data (privacy-first), enhancing insights and recommendation quality dynamically.

Live demos

Demo Website

Getting Started

Get started add Benjamin to your project by running one of the following in your terminal:

npm


npm install benjamin-sdk

yarn


yarn add benjamin-sdk

pnpm


pnpm add benjamin-sdk

Coding

We are using reown package to setup connect UI, you can replace the reown package with any other Web3 setup that provides a compatible wagmiConfig, such as: rainbowkit, connectkit,... For example, you can manually configure wagmi using createConfig and configureChains from the wagmi library without relying on Reown.

import { cookieStorage, createStorage } from "@wagmi/core";
import { WagmiAdapter } from "@reown/appkit-adapter-wagmi";
import { story} from "wagmi/chains";
import { type Chain } from "@reown/appkit/networks";
import { WagmiProvider, type Config } from "wagmi";
import { BenjaminProvider } from "benjamin-sdk";

export const networks: Chain[] = [story];

export const wagmiAdapter = new WagmiAdapter({
  storage: createStorage({
    storage: cookieStorage,
  }),
  ssr: true,
  projectId,
  networks,
});

function Web3Provider({ children }: { children: ReactNode }) {
  return (
    <QueryClientProvider client={queryClient}>
      <WagmiProvider config={wagmiAdapter.wagmiConfig as Config}>
        <BenjaminProvider wagmiConfig={wagmiAdapter.wagmiConfig as Config} apiKey="API_KEY">
            {children}
        </BenjaminProvider>
      </WagmiProvider>
    </QueryClientProvider>
  );
}