Skip to content

Commit

Permalink
Updated README.md to match the actual pub name
Browse files Browse the repository at this point in the history
instructions on how to install were outdated and referred to the old name of the package
  • Loading branch information
lo-bertolino committed Nov 16, 2018
1 parent 854594d commit f871a9b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ validators
[![Build Status](https://travis-ci.org/dart-league/validators.svg?branch=master)](https://travis-ci.org/dart-league/validators)

String validation and sanitization for Dart.
Dart 2-compatible version of [validator](https://pub.dartlang.org/packages/validator)

Port of [chriso's library](https://github.com/chriso/validator.js).

Expand All @@ -12,7 +13,7 @@ Port of [chriso's library](https://github.com/chriso/validator.js).
1\. Add dependency to your package's `pubspec.yaml` file:

dependencies:
validator: ">=0.0.4 <0.1.0"
validators: ^1.0.0+1

2\. Run from the command line:

Expand All @@ -22,7 +23,7 @@ Alternatively, your editor might support pub. Check the docs for your editor to

3\. Import in your Dart code:

import 'package:validator/validator.dart';
import 'package:validators/validators.dart';

## Validators

Expand Down

0 comments on commit f871a9b

Please sign in to comment.