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

@octozoo/hightide

v1.0.5

Published

HighTide command line client

Readme

HighTide CLI

The HighTide command-line tool makes it easy to submit code coverage results to the HighTide API on octozoo.com. Track your project's test coverage metrics over time and integrate seamlessly with your CI/CD pipeline.

Quick Start

1. Get Your API Token

Visit octozoo.com to create an account and get your API token. You'll need this to submit coverage data.

2. Set Up Your Token

Set your OctoZoo API token as an environment variable:

export OCTOZOO_TOKEN=your_api_token_here

Or add it to your CI/CD environment variables for automated submissions.

4. Submit Coverage Data

The easiest way to submit coverage is using the submit-coverage command, which automatically detects and parses common coverage formats:

# Submit line coverage from your coverage file
npx @octozoo/hightide submit-coverage --metric YOUR_METRIC_ID

# Or specify a custom coverage file path
npx @octozoo/hightide submit-coverage path/to/coverage.json --metric YOUR_METRIC_ID

Usage Guide

Submitting Code Coverage

The submit-coverage command is the primary way to submit test coverage results:

npx @octozoo/hightide submit-coverage [coverage-file] [options]

Options:

  • --metric <number> (required): Your metric ID from octozoo.com
  • --type <type>: Coverage type to extract (lines, statements, functions, branches). Default: lines
  • --format <format>: Coverage file format (istanbul-json, simplecov-json, auto). Default: auto
  • --commit-identifier <hash>: Git commit SHA or auto to auto-detect. Default: auto
  • --token <token>: API token (or use OCTOZOO_TOKEN env var)
  • --dry-run: Preview what would be sent without submitting

Supported Coverage Formats:

  • Istanbul/NYC JSON format (JavaScript/TypeScript projects)
  • SimpleCov JSON format (Ruby projects)
  • Auto-detection tries both formats if not specified

Examples:

# Basic usage - auto-detects coverage file and format
npx @octozoo/hightide submit-coverage --metric 123

# Specify coverage type (lines, statements, functions, or branches)
npx @octozoo/hightide submit-coverage --type functions --metric 123

# Use a specific coverage file
npx @octozoo/hightide submit-coverage ./coverage/coverage-final.json --metric 123

# Force a specific format
npx @octozoo/hightide submit-coverage --format istanbul-json --metric 123

# Preview without submitting
npx @octozoo/hightide submit-coverage --dry-run --metric 123

Manual Metric Submission

For custom metrics or when you want full control over the values:

npx @octozoo/hightide submit --numerator 85 --denominator 100 --metric 123

Options:

  • --numerator <number> (required): Covered items (integer >= 0)
  • --denominator <number> (required): Total items (integer > 0)
  • --metric <number> (required): Your metric ID from octozoo.com
  • --commit-identifier <hash>: Git commit SHA or auto. Default: auto
  • --token <token>: API token (or use OCTOZOO_TOKEN env var)
  • --dry-run: Preview without submitting

CI/CD Integration

HighTide works great in CI/CD pipelines. Here are some examples:

GitHub Actions:

- name: Submit Coverage
  run: npx @octozoo/hightide submit-coverage --metric ${{ secrets.HIGHTIDE_METRIC_ID }}
  env:
    OCTOZOO_TOKEN: ${{ secrets.OCTOZOO_TOKEN }}

Utility Commands

Help

npx @octozoo/hightide --help

Shows all available commands and options.

Version

npx @octozoo/hightide --version

Displays the current version.

Common Coverage File Locations

HighTide automatically looks for coverage files in these common locations:

  • Istanbul/NYC: coverage/coverage-final.json
  • SimpleCov: coverage/.resultset.json

If your coverage files are in different locations, specify the path explicitly:

npx @octozoo/hightide submit-coverage ./my-custom-path/coverage.json --metric 123

Support

For questions, issues, or support:

License

See octozoo.com/terms .