Ninja Pirate Marksman

    turkish-id-verification

    1.0.3 • Public • Published

    turkish-id-verification

    An npm package to check Turkish Id is real or not.

    Installation

    npm install turkish-id-verification --save

    
    import checkTRId from 'turkish-id-verification';
    
    

    Usage

    Async/Await

    (async () => {
        const result = await checkTRId({
            Ad: 'string',
            Soyad: 'string',
            TCKimlikNo: number,
            DogumYili: number
        });
    
        console.log(result); // true or false
    })()
    
    

    Then/Catch

    checkTRId({
        Ad: 'string',
        Soyad: 'string',
        TCKimlikNo: number,
        DogumYili: number
    }).then(res => console.log(res)).catch(err => console.log(err));
    
    

    Install

    npm i turkish-id-verification

    DownloadsWeekly Downloads

    4

    Version

    1.0.3

    License

    ISC

    Unpacked Size

    2.76 kB

    Total Files

    3

    Last publish

    Collaborators

    • emirgoren