credit_card_validator 2.0.0
credit_card_validator: ^2.0.0 copied to clipboard

A package that validates credit card numbers, expiration dates, and security codes (CVV/CVC) based on the type of credit card

29
likes
120/ 130
pub points
94%
popularity

We analyzed this package on Oct 25, 2021, and awarded it 120 pub points (of a possible 130):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
20 / 20

10/10 points: Package has an example

  • Found example at: example/README.md

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

  • 30 out of 44 API elements (68.2 %) have documentation comments.
Support multiple platforms
20 / 20

20/20 points: Supports 2 of 2 possible platforms (native, js)

Pass static analysis
20 / 30

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 9 issues. Showing the first 2:

lib/card_number.dart doesn't match the Dart formatter.

To format your files run: dart format .

lib/cardholder_name.dart doesn't match the Dart formatter.

To format your files run: dart format .

Support up-to-date dependencies
20 / 20

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

PackageConstraintCompatibleLatest
credit_card_type_detector^2.0.02.0.02.0.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

Support sound null safety
20 / 20

20/20 points: Package and dependencies are fully migrated to null safety!

Analysed with Pana 0.21.3, Dart 2.14.3.

29
likes
120
pub points
94%
popularity

A package that validates credit card numbers, expiration dates, and security codes (CVV/CVC) based on the type of credit card

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

credit_card_type_detector

More

Packages that depend on credit_card_validator