open-index/open-npm huggingface dataset:
npm package: @rando4.me/db
Description: Module that provide API for rando database operations
Author: Rando 4Me Team
Latest version: 0.1.5

Rando-db
========
[![Dependencies Status](https://david-dm.org/RandoApp/Rando-db.png)](https://david-dm.org/RandoApp/Rando-db) [![devDependencies Status](https://david-dm.org/RandoApp/Rando-db/dev-status.svg)](https://david-dm.org/RandoApp/Rando-db?type=dev) [![Coverage Status](https://coveralls.io/repos/github/RandoApp/Rando-db/badge.svg)](https://coveralls.io/github/RandoApp/Rando-db) [![Build Status](https://travis-ci.org/RandoApp/Rando-db.svg?branch=master)](https://travis-ci.org/RandoApp/Rando-db)

Module that provide API for rando database operations.
npm package: @randock/license-plate-validator
Description: This package provides validators for the following countries:
Latest version: 0.0.24

# License Plate Validator

This package provides validators for the following countries:

- NL
- BE
- DE
- AT
- FR
- LU
- CZ
- CH
- IT
- PL
- UA

The easiest way to use the package is as follows.

```typescript
import { ValidatorFactory } from '@randock/license-plate-validator';

// obtain a validator instance
const validator = ValidatorFactory.forCountry('NL');

// validate license plate
const valid: boolean = validator.validate('XX-YY-ZZ'); // true

// format license plate (result is a string array)
const formats: string[] = validator.format('11YYZZ'); // ["11-YY-ZZ"]
```

For some countries, the format cannot be deduced to only one possible format. For example, the German license plate "DES123" can either be DE S 123 (Dessau) or D ES 123 (Düsseldorf). That is why the result of the format method is always an array of strings.