2.2.1 • Published 1 year ago

license-plate v2.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Dutch license plate formatting and validation in JavaScript.

npm bundle size npm GitHub issues npm GitHub Repo stars

Installation

Installing using npm

npm install license-plate

Installing using Yarn

yarn add license-plate

Features

  • ✅ Validating a license plate.
  • 🚗 Formatting a license plate.
  • 🔢 Retrieving sidecode from a license plate.

How to use

import LicensePlate from 'license-plate';

const plate = new LicensePlate('xx9999');

plate.valid();    // true
plate.pretty();   // 'XX-99-99'
plate.sidecode(); // 1
2.2.1

1 year ago

2.2.0

3 years ago

2.1.0

3 years ago

1.5.2

4 years ago

2.0.0

4 years ago

1.4.0

4 years ago

1.2.4

4 years ago

1.2.3

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.1.1

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago