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

@versatly/clovercli

v1.2.1

Published

Powerful CLI for Clover POS API - inventory, orders, payments, analytics

Readme

CloverCLI

A powerful command-line interface for Clover POS API integration. Manage inventory, orders, payments, customers, employees, and get comprehensive business analytics.

Installation

git clone https://github.com/Versatly/clovercli.git
cd clovercli
npm install
npm run build

Quick Start

# Set your credentials
export CLOVER_ACCESS_TOKEN="your-access-token"
export CLOVER_MERCHANT_ID="your-merchant-id"

# Check connection
node dist/index.js merchant get

# Get business dashboard
node dist/index.js reports summary

Commands

| Command | Description | |---------|-------------| | auth | OAuth login, token management | | merchant | Get merchant information | | inventory | Items, categories, stock management | | orders | Create, list, update, delete orders | | payments | List payments, process refunds | | customers | Customer CRUD operations | | employees | List and view employees | | reports | Comprehensive analytics suite | | api | Raw API access for custom queries |

Reports & Analytics

# Quick dashboard
clovercli reports summary

# Sales by date range
clovercli reports sales --from 2026-01-01 --to 2026-01-31

# Daily breakdown
clovercli reports daily --from 2026-01-01 --to 2026-01-31

# Hourly sales with visual chart
clovercli reports hourly

# Best selling items
clovercli reports top-items --limit 20

# Payment method breakdown
clovercli reports payments

# Refund summary
clovercli reports refunds

# Tax collected
clovercli reports taxes

# Export data
clovercli reports export orders --output orders.csv --format csv
clovercli reports export items --output items.json

Environment Variables

| Variable | Required | Description | |----------|----------|-------------| | CLOVER_ACCESS_TOKEN | Yes | API access token | | CLOVER_MERCHANT_ID | Yes | Merchant ID | | CLOVER_REGION | No | us (default), eu, la, sandbox |

Output Formats

All list commands support multiple output formats:

# Table view (default)
clovercli orders list

# JSON output
clovercli orders list --output json

# IDs only (quiet mode)
clovercli orders list --quiet

Raw API Access

Access any Clover API endpoint directly:

clovercli api get '/v3/merchants/{mId}/tax_rates'
clovercli api get '/v3/merchants/{mId}/tenders'
clovercli api post '/v3/merchants/{mId}/orders' --data '{"total": 1000}'

The {mId} placeholder is automatically replaced with your merchant ID.

Regions

| Region | API Endpoint | |--------|--------------| | us | api.clover.com | | eu | api.eu.clover.com | | la | api.la.clover.com | | sandbox | apisandbox.dev.clover.com |

Development

# Build
npm run build

# Run directly
node dist/index.js --help

# Watch mode (requires nodemon)
npm run dev

License

MIT

Author

Versatly Holdings