personal-number-generator

    1.0.0 • Public • Published

    PersonalNumberGenerator Version

    A very small Javascript tool to generate valid swedish personal numbers for mocking, testing or whatever you need.

    Get started

    It's very easy to use the tool, follow the instructions

    Add the package

    Install the package using npm

    npm i personal-number-generator 
    

    Import the package

    • NodeJS:
    const personalnumbergenerator = require('personal-number-generator'); 
    • Javascript (ES6):
    import personalnumbergenerator from 'personal-number-generator'; 

    Generate a Personal number

    Call the function you imported to generate a personal number

    const personalNumber = personalnumbergenerator();
    console.log(personalNumber); // 9407121939

    Enjoy generating :)

    Install

    npm i personal-number-generator

    DownloadsWeekly Downloads

    47

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    2.71 kB

    Total Files

    3

    Last publish

    Collaborators

    • sletheren