ng-siret-validator
TypeScript icon, indicating that this package has built-in type declarations

1.2.3 • Public • Published

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

Package Sidebar

Install

npm i ng-siret-validator

Weekly Downloads

6

Version

1.2.3

License

AGPL v3

Unpacked Size

15.6 kB

Total Files

13

Last publish

Collaborators

  • jbpoujol