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

    1.1.3 • Public • Published

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

    Install

    npm i ng-siret-validator

    DownloadsWeekly Downloads

    57

    Version

    1.1.3

    License

    AGPL v3

    Unpacked Size

    17.1 kB

    Total Files

    15

    Last publish

    Collaborators

    • avatar