ansi_wrap 0.1.2+2 copy "ansi_wrap: ^0.1.2+2" to clipboard
ansi_wrap: ^0.1.2+2 copied to clipboard

Wordwrap a string with ANSI escape codes.

0
likes
150/ 160
pub points
21
downloads

We analyzed this package 2 days ago, and awarded it 150 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

1 out of 2 API elements (50.0 %) have documentation comments.

Some symbols that are missing documentation: ansi_wrap.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Passed check 0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Passed report section
Pass static analysis
50 / 50trigger folding of the section

Passed check 50/50 points: code has no errors, warnings, lints, or formatting issues

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
ansi_codes ^0.1.1 0.1.1 0.1.1
ansi_strip ^0.1.1+1 0.1.1+1 0.1.1+1
characters ^1.2.1 1.4.0 1.4.0
string_width ^0.1.2 0.1.5 0.1.5
Transitive dependencies
Package Constraint Compatible Latest Notes
ansi_regex - 0.1.2 0.1.2
east_asian_width - 1.0.1 1.0.1
emoji_regex - 0.0.5 0.0.5

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.20, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
Jun 26Jul 24Aug 21Sep 18Oct 16Nov 13Dec 11Jan 8Feb 5Mar 5012345678910>=0.0.0-0 <1.0.0
0
likes
150
points
21
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.11 - 2025.03.26

Wordwrap a string with ANSI escape codes.

Homepage
Repository (GitHub)

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

ansi_codes, ansi_strip, characters, string_width

More

Packages that depend on ansi_wrap