Skip to content

Commit

Permalink
Cleaned up README.md.
Browse files Browse the repository at this point in the history
  • Loading branch information
niels-bosman committed Aug 30, 2021
1 parent 81608d3 commit 2b540ba
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ import LicensePlate from 'license-plate';

const plate = new LicensePlate('xx9999');

if (plate.valid()) {
console.log(plate.pretty()); // 'XX-99-99'
console.log(plate.sidecode()); // 1
}
plate.valid(); // true
plate.pretty(); // 'XX-99-99'
plate.sidecode(); // 1
```

0 comments on commit 2b540ba

Please sign in to comment.