Skip to content

jbpoujol/ng-siret-validator

Repository files navigation

ng-siret-validator

NPM

About

A simple SIRET validator for Angular :

  • SIRET Entreprises
  • SIRET La Poste

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]]
 });

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published