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

@daydreamsai/create-agent

v0.3.22

Published

CLI to bootstrap Daydreams agents

Readme

@daydreamsai/create-agent

A CLI tool to bootstrap Daydreams agents easily.

Usage

# Using npx (recommended)
npx @daydreamsai/create-agent my-agent

# Or install globally
npm install -g @daydreamsai/create-agent
create-agent my-agent

Options

You can specify extensions to include:

npx @daydreamsai/create-agent my-agent --twitter --discord --cli

Available extensions:

  • --cli: Include CLI extension
  • --twitter: Include Twitter extension
  • --discord: Include Discord extension
  • --telegram: Include Telegram extension
  • --all: Include all extensions

If no extensions are specified, you will be prompted to select which ones to include.

What it does

This tool:

  1. Creates a new directory for your agent (or uses the current directory)
  2. Sets up a package.json with the necessary dependencies
  3. Creates an index.js file with the selected extensions
  4. Generates a basic .env.example file with required environment variables
  5. Installs all dependencies

Development

# Install dependencies
pnpm install

# Build the package
pnpm run build

# Test the CLI locally
pnpm run start

Testing

The create-agent CLI is tested using Vitest. To run tests:

# Run all tests
pnpm run test

# Run tests in watch mode during development
pnpm run test:watch

# Run tests with coverage report
pnpm run test:coverage

Test Structure

  • test/index.test.ts: Main CLI integration tests
  • test/utils/utils.test.ts: Unit tests for utility functions
  • test/template-generation.test.ts: Tests for template generation functionality

Adding New Tests

When adding new features to the CLI, make sure to:

  1. Extract pure functions to the src/utils.ts file where possible
  2. Add unit tests for those functions in test/utils/utils.test.ts
  3. Add integration tests for CLI behavior in test/index.test.ts