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

@flock-io/api

v0.1.0

Published

CLI for the FLock Model API Platform — manage models, API keys, teams, billing, and chat completions from the terminal.

Downloads

78

Readme

flock-api

CLI for the FLock Model API Platform — manage models, API keys, teams, billing, and chat completions from the terminal.

Install

npm install -g flock-api

Quick Start

# 1. Point to the platform (default: https://platform.flock.io)
flock config set api-url https://platform.flock.io

# 2. Sign in
flock auth login --email [email protected] --password '...'

# 3. Use it
flock models list --json
flock api-keys list --json
flock balance --json
flock chat --model qwen3-30b-a3b-instruct-2507 --api-key sk-your-key "Hello" --json

Commands

| Command | Description | |---------|-------------| | flock auth login | Sign in (interactive or --email/--password) | | flock auth logout | Remove stored credentials | | flock auth whoami | Show current user | | flock auth token | Print raw bearer token | | flock models list | Browse model catalog | | flock models providers | List LLM providers | | flock api-keys list | List API keys | | flock api-keys create | Create a new key | | flock api-keys update | Rename a key | | flock api-keys remove | Delete a key | | flock orgs list | List organizations | | flock orgs create | Create an organization | | flock orgs members | List org members | | flock teams list | List teams | | flock teams create | Create a team | | flock teams get | Get team details | | flock teams invite | Invite a member | | flock teams remove-member | Remove a member | | flock balance | Check credit balance | | flock usage | Query usage logs | | flock chat | Send a chat completion | | flock admin users list | Admin: list users | | flock admin models create | Admin: add a model | | flock config set api-url | Set platform URL | | flock config show | Show current config |

Run flock with no arguments to enter interactive REPL mode.

Every command supports --help. Most support --json for structured output.

Environment Variables

| Variable | Purpose | |----------|---------| | FLOCK_API_BASE_URL | Override platform URL (default: https://platform.flock.io) | | FLOCK_API_TOKEN | Bearer token (skips login) | | FLOCK_LLM_API_KEY | Default API key for flock chat |

Full Documentation

See the complete agent skill reference at platform.flock.io/agents.

License

Proprietary. See LICENSE.