Skip to content

Commit

Permalink
Fix mistakes in README
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasschweizer authored Feb 21, 2023
1 parent caa9a24 commit 0ac9f29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ Multiple validation modes are provided:

Example:
```
import { validateIri, IriValidationStrategy } from 'validate-iri`
import { validateIri, IriValidationStrategy } from 'validate-iri'
const yourIri = 'https://example.com/john-doe'
validateIri(yourIri, IriValidationStrategy.Pragmatic) // Will throw an error if the IRI is invalid.
validateIri(yourIri, IriValidationStrategy.Pragmatic) // Will return an error if the IRI is invalid.
```

## Performance
Expand Down

0 comments on commit 0ac9f29

Please sign in to comment.