Search packages, repositories and app categories

GitHub repositorydart-league/validators

validators

:turtle: String validation and sanitization for Dart.

validators project cover
Stars
82
Forks
26
Last push (UTC)
May 15, 2023
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

validators

Build Status

String validation and sanitization for Dart. Dart 2-compatible version of validator

Port of chriso's library.

Usage

1. Add dependency to your package's pubspec.yaml file:

dependencies:
  validators: ^2.2.0 # change to latest version

2. Run from the command line:

$ pub get

Alternatively, your editor might support pub. Check the docs for your editor to learn more.

3. Import in your Dart code:

import 'package:validators/validators.dart';

Documentation

Validators
Sanitizers
dart-league GitHub avatar
GitHub author

dart-league ↗

LanguagesDart

Packages published by this repository

Dependencies used

Dependency list 1 items

  • testDevelopment^1.16.5

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗