html_to_markdown_ffi 1.0.1
html_to_markdown_ffi: ^1.0.1 copied to clipboard
A high-performance HTML to Markdown converter for Dart and Flutter, powered by Rust FFI.
We analyzed this package 3 days ago, and awarded it 50 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Could not find any pubspec.yaml in the repository.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: html_to_markdown_ffi, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
Repository URL doesn't exist.
At the time of the analysis https://github.com/kreuzberg-dev/html-to-markdown/tree/main/packages/dart was unreachable. Make sure that the website is reachable via HEAD requests.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT.
0/10 points: 20% or more of the public API has dartdoc comments
35 out of 244 API elements (14.3 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: conversion_options, conversion_options.ConversionOptions, conversion_options.ConversionOptions.ConversionOptions.fromJson, conversion_options.ConversionOptions.ConversionOptions.new, conversion_options.ConversionOptions.autolinks.
10/10 points: Package has an example
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 14 issues. Showing the first 2:
ERROR: The method 'htmConvert' isn't defined for the type 'NativeLibrary'.
lib/convert.dart:32:27
╷
32 │ final resultPtr = lib.htmConvert(htmlPtr, optionsPtr);
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/convert.dart
ERROR: The method 'htmConversionResultToJson' isn't defined for the type 'NativeLibrary'.
lib/convert.dart:39:25
╷
39 │ final jsonPtr = lib.htmConversionResultToJson(resultPtr);
│ ^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/convert.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
ffi |
^2.1.0 |
2.2.0 | 2.2.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 9 errors:
UNDEFINED_METHOD-lib/convert.dart:32:27- The method 'htmConvert' isn't defined for the type 'NativeLibrary'.UNDEFINED_METHOD-lib/convert.dart:39:25- The method 'htmConversionResultToJson' isn't defined for the type 'NativeLibrary'.UNDEFINED_METHOD-lib/convert.dart:41:9- The method 'htmFreeString' isn't defined for the type 'NativeLibrary'.
Run dart pub downgrade and then dart analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.12, Dart 3.11.5.
Check the analysis log for details.