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

@dzapio/ai

v0.0.1

Published

DZap SDK and CLI for agent execution and wallet-aware prompts.

Readme

DZapAI SDK and CLI

This repository exposes:

  • A reusable SDK for TypeScript and JavaScript apps.
  • A dzap CLI for command-line workflows.
  • An optional Express server wrapper.

Build

npm run build

Private Tester Distribution (No Repo Access)

Create a distributable package that includes only compiled artifacts:

npm run pack:tester

This generates dzapai-<version>.tgz.

Tester install commands:

# CLI (global)
npm install -g ./dzapai-<version>.tgz
dzap

# SDK (inside tester project)
npm install ./dzapai-<version>.tgz

Note: API keys should be provided via environment variables in tester machines.

SDK Usage

import { DZapSDK } from "dzapai";

const sdk = new DZapSDK();
await sdk.initialize({
  startupPassword: "alohomora",
  initializeRetrieval: true,
  syncProviders: false
});

const result = await sdk.ask({
  userQuery: "Show my balances",
  metadata: {
    accountInfo: [
      { blockchain: "evm", chain: "1", user_account: "0xabc..." }
    ]
  }
});

console.log(result.finalText);

You can also set DZAP_STARTUP_PASSWORD=alohomora and omit startupPassword in initialize(...).

SDK Tool Access

const tools = sdk.listTools();
console.log(tools.map((tool) => tool.name));

const priceTool = sdk.getTool("PriceTool");
const priceResult = await priceTool.execute({
  tokenAddresses: "0xA0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
  chainId: 1
});

console.log(priceResult);

CLI Usage

DzapAI

On startup it first asks for a password (alohomora), then runs the profile phase (wallet/chain/blockchain), saves the profile, and opens the interactive shell. Use normal text for AI prompts and slash commands for actions:

>> what are top pools on chain 1?
>> /tools
>> /tool PriceTool {"tokenAddresses":"0xA0...","chainId":1}
>> /set wallet 0xabc...
>> /set chain 1
>> /session history
>> /exit

Server Usage

npm run dev
npm start

Set DZAP_STARTUP_PASSWORD=alohomora in your environment (or .env) before starting the server.

Server entrypoint: src/server/index.ts.