Skip to content
pubscout

pana

0.23.19, released 3 months ago by tools.dart.dev

Produce a report summarizing the health and quality of a Dart package

$ flutter pub add pana
Source repository

What it does

A library for analyzing Dart packages that invokes executables from the Dart SDK or Flutter SDK. It generates reports covering documentation, static analysis, dependencies, and Dart conventions.

AI-written summary of version 0.23.19, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You want to analyze the health and quality of a Dart package locally
  • You are building tools that require package metrics and scoring reports

Skip it when

  • You need a general-purpose runtime package manager rather than an analysis tool

Strengths

  • Used directly by the official Dart Package site (pub.dev)
  • Supports local directories or hosted packages from pub.dev
  • Comprehensive health reporting across multiple categories

Weaknesses

  • Requires access to the Dart SDK or Flutter SDK environments

Setup

Kind
Pure Dart
Effort
Low
Code generation
Yes (build_runner)
Direct dependencies
23

Can be activated globally via pub using `dart pub global activate pana`.

dart pub global activate pana
pana --hosted <published package name>

Alternatives

Packages that do the same job and could replace pana.

  • talker

    Advanced error handler and logger package for Flutter and Dart apps.

  • talker_flutter

    Advanced error handler and logger package for Flutter and Dart applications

  • catcher_2

    Plugin for automatic error catching and handling in Flutter apps.

  • shake_flutter

    Flutter plugin for automated bug reporting and session tracking.

Works with

Packages commonly used together with pana: ones it builds on, ones built on it, and its own family.