Nutritious Polygonal Meatball

    maskinput

    1.0.5 • Public • Published

    maskinput npm versionBuild StatusCoverage StatusKnown Vulnerabilities

    Masks the input strings

    Install

    $ npm install --save maskinput
    

    Usage

    const maskinput = require('maskinput');
     
    console.log(maskinput('john.doe@space.com'));
     
    /*
     
        ##################
     
     */

    CLI

    $ npm install --global maskinput
    
    $ maskinput --help
    
      Usage
        maskinput <string>
        maskinput <string> --totalUnmaskedTrailingCharacters 10
        maskinput <string> --totalUnmaskedLeadingCharacters 5 --totalUnmaskedTrailingCharacters 10
        maskinput <string> --maskedCharacter X
        echo <string> | maskinput
    
      Example
        maskinput 'john.doe@space.com'
        ##################
    
        maskinput 'john.doe@space.com' --maskedCharacter X
        XXXXXXXXXXXXXXXXXX
    
        maskinput 'john.doe@space.com' --totalUnmaskedLeadingCharacters 5 --totalUnmaskedTrailingCharacters 10
        john.###@space.com
    
    

    Install

    npm i maskinput

    DownloadsWeekly Downloads

    1

    Version

    1.0.5

    License

    MIT

    Unpacked Size

    5.54 kB

    Total Files

    5

    Last publish

    Collaborators

    • amirm.lavasani
    • slashui