html_to_markdown_ffi 1.0.1 copy "html_to_markdown_ffi: ^1.0.1" to clipboard
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.

50/ 160
pub points
169
downloads

We analyzed this package 3 days ago, and awarded it 50 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

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:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: html_to_markdown_ffi,
    • contains a version property, and,
    • does not contain a publish_to property.
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.

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: MIT.

Partially passed report section
Provide documentation
10 / 20trigger folding of the section

Partially passed check 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.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
0 / 20trigger folding of the section

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

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 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

Failed report section
Support up-to-date dependencies
20 / 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
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.

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

Failed check 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.

Weekly downloads

Display as:
By versions:
3
likes
50
points
169
downloads

Documentation

API reference

Publisher

verified publisherzuzu.dev

Weekly Downloads

A high-performance HTML to Markdown converter for Dart and Flutter, powered by Rust FFI.

License

MIT (license)

Dependencies

ffi

More

Packages that depend on html_to_markdown_ffi