Swiftpack.co - Package - dart-lang/pana

Build Status

A library for analyzing Dart packages.

  • Validates the code using Dart Analyzer.
  • Checks code formatting.
  • Checks for outdated dependencies.
  • Infers supported platforms: Flutter, web, and/or server.

Used by the Dart Package site.

Use as an executable


> pub global activate pana


You can specify either a package (+ version) or a local directory to analyze:

Usage: pana [<options>] <published package name> [<version>]
       pana [<options>] --source path <local directory>

      --flutter-sdk     The directory of the Flutter SDK.
  -j, --json            Output log items as JSON.
  -s, --source          The source where the package is located (hosted on https://pub.dartlang.org, or local directory path).
                        [hosted (default), path]
      --hosted-url      The server that hosts <package>.
                        (defaults to "https://pub.dartlang.org")
      --verbosity       Configure the details in the output.
                        [compact, normal (default), verbose]
      --[no-]warning    Shows the warning message before potentially destructive operation.
                        (defaults to on)


Stars: 25
Help us keep the lights on


Used By

Total: 0


0.11.3 - May 25, 2018

0.11.2 - May 22, 2018

0.11.1 - May 14, 2018

0.11.0 - May 9, 2018

0.10.6 - Apr 6, 2018