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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@qualipsolutions/buncover

v1.0.31

Published

A cross-platform CLI tool for collecting, analyzing, and reporting test coverage data for Bun projects. BunCover helps you track and improve your test coverage with real-time reporting and historical data analysis.

Downloads

45

Readme

BunCover CLI

A cross-platform CLI tool for collecting, analyzing, and reporting test coverage data for Bun projects. BunCover helps you track and improve your test coverage with real-time reporting and historical data analysis.

Features

  • 🚀 Real-time Coverage Analysis: Instantly analyze test coverage as you run your tests
  • 📊 Detailed Reports: Get comprehensive coverage reports including:
    • Function coverage percentage
    • Line coverage percentage
    • Uncovered line numbers
    • File-by-file breakdown
  • 🔄 Source Code Synchronization: Automatically sync your source code for better coverage visualization
  • 🌐 Secure Authentication: Token-based authentication for secure access
  • 📱 Cross-Platform: Supports Linux, macOS, and Windows

Installation

Using npm:

npm install -g @qualipsolutions/buncover

Using yarn:

yarn global add @qualipsolutions/buncover

Using pnpm:

pnpm add -g @qualipsolutions/buncover

Using bun:

bun install -g @qualipsolutions/buncover

Usage Guide

1. Authentication

First, authenticate with your BunCover account:

# Login with your token
buncover login --token <your_token>

2. Project Setup

Configure your project for coverage reporting:

# Set up with a specific project ID
buncover run --project-id <project_id>

# Or use the configuration file (see below)

3. Running Tests with Coverage

# Run tests and collect coverage
buncover run

# Run with additional Bun test arguments
buncover run -- --timeout 5000

# Run tests for specific files
buncover run -- test/auth/*.test.js

4. Source Code Synchronization

Enable source code synchronization for better coverage visualization:

# Sync all project files
buncover sync --run

# Sync specific files or directories
buncover sync --file src/main.js --run

# Preview files that would be synced
buncover sync # without --run flag

5. Coverage Server

Start a local server for real-time coverage visualization:

# Start server with default settings
buncover serve

# Specify custom directory
buncover serve --dir ./src

# Use specific project ID
buncover serve --project-id <project_id>

Configuration

Configuration File (buncover.json)

{
  "log_level": "info",
  "project_id": "your_project_id",
  "allow_source_code": true,
  "include_patterns": [
    "src/**/*.js",
    "lib/**/*.ts"
  ]
}

Configuration Options

  • log_level (string): Output verbosity

    • error: Errors only
    • warn: Warnings and errors
    • info: General information (default)
    • debug: Detailed debugging information
    • trace: All possible information
  • project_id (string): Your project identifier

  • allow_source_code (boolean): Enable/disable source code synchronization

  • include_patterns (array): Glob patterns for files to include in coverage

Requirements

  • Node.js ≥ 18.0.0
  • Bun runtime installed

Support

Supported Platforms

  • Linux
  • macOS
  • Windows

Getting Help

For support inquiries and access to BunCover, please contact:

Copyright

© 2024 BunCover. All rights reserved.

This software is proprietary and confidential. Unauthorized copying, transferring or reproduction of this software, via any medium is strictly prohibited. The software is provided under a license agreement with BunCover and contains valuable trade secrets and intellectual property.