recase 4.0.0 copy "recase: ^4.0.0" to clipboard
recase: ^4.0.0 copied to clipboard

Changes the case of the input text to the desire case convention.

341
likes
135/ 160
pub points
97%
popularity

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

failed
Follow Dart file conventions
25 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

0/5 points: Provide a valid CHANGELOG.md

No `CHANGELOG.md` found.

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

10/10 points: Use an OSI-approved license

Detected license: BSD-2-Clause.

failed
Provide documentation
10 / 20trigger folding of the section

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

11 out of 25 API elements (44.0 %) have documentation comments.

Some symbols that are missing documentation: recase, recase.ReCase.originalText, recase.ReCase.symbolSet, recase.StringReCase, recase.StringReCase.camelCase.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

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.

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 5 issues. Showing the first 2:

INFO: Using a colon as the separator before a default value is deprecated and will not be supported in language version 3.0 and later.

lib/recase.dart:73:41

   ╷
73 │   String _getCamelCase({String separator: ''}) {
   │                                         ^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/recase.dart

INFO: Using a colon as the separator before a default value is deprecated and will not be supported in language version 3.0 and later.

lib/recase.dart:82:44

   ╷
82 │   String _getConstantCase({String separator: '_'}) {
   │                                            ^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/recase.dart

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

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

No dependencies.

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.12, Dart 3.5.3.

Check the analysis log for details.

341
likes
135
pub points
97%
popularity

Publisher

unverified uploader

Changes the case of the input text to the desire case convention.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause (license)

More

Packages that depend on recase