pana_html 0.1.3

  • Readme
  • Changelog
  • Example
  • Installing
  • 58

pana_html #

This cli tool is used to deploy pana_visual as local service;

How to use #

Run the panahtml under your Dart/Flutter package, it will analyze the project with pana, then generate a html report;

0.1.3 #

  • Add api for dart test;

0.1.2 #

  • Add options to control local server and strict mode;
  • Fix resource path;

0.1.1+1 #

  • Fix doc

0.1.1 #

  • Add api doc;

0.1.0 #

  • Analyze project with pana;
  • Deploy the pana_visual to local;

example/main.dart

import 'package:pana_html/pana_html.dart' as cli;

void main(List<String> args) {
  print('call pana_html');
  cli.evaluate(['--no-web', '--strict']);
}

Use this package as an executable

1. Install it

You can install the package from the command line:


$ pub global activate pana_html

2. Use it

The package has the following executables:


$ panahtml

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  pana_html: ^0.1.3

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter pub get

Alternatively, your editor might support pub get or flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:pana_html/pana_html.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
16
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100
Overall:
Weighted score of the above. [more]
58
Learn more about scoring.

We analyzed this package on Mar 27, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.1
  • pana: 0.13.6

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
archive ^2.0.11 2.0.13
args ^1.5.0 1.6.0
http_server ^0.9.8+3 0.9.8+3
path ^1.6.4 1.6.4
resource ^2.1.6 2.1.6
Transitive dependencies
charcode 1.1.3
collection 1.14.12
convert 2.1.1
crypto 2.1.4
mime 0.9.6+3
typed_data 1.1.6
Dev dependencies
pedantic ^1.8.0
test ^1.6.0