1.2.3 • Published 3 years ago

ng-siret-validator v1.2.3

Weekly downloads
-
License
AGPL v3
Repository
github
Last release
3 years ago

ng-siret-validator

About

A simple SIRET validator for Angular :

  • SIRET Entreprises
  • SIRET La Poste

Licence

NPM

Installation

Run the following command to install the package :

npm install ng-siret-validator --save

Setup

You must import the validator ValidateSiret in your component

import { ValidateSiret } from "ng-siret-validator";


 this.siretForm = this.formBuilder.group({
      siret: ['', [Validators.required, ValidateSiret]]
 });
1.2.3

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago