licenzo

1.3.6 • Public • Published


Licenzo

A driver's license identitfication number generator.

NPM

Demo

Usage

Node.js

var licenzo = require('licenzo');
 
var billNye = licenzo.md.generate("William", "Sanford", "Nye", "11", "27");
console.log(billNye); //N-000-887-758-906 (MD Driver's License #)
 
var kateHudson = licenzo.md.generate("Kate", "Garry", "Hudson", "4", "19");
console.log(kateHudson); //H-325-461-271-303 (MD Driver's License #)
 
var santaClaus = licenzo.md.generate("Santa", "", "Claus", "3", "15");
console.log(santaClaus); //C-420-758-014-197 (MD Driver's License #)
 
 
var name = licenzo.{state abbreviation}.generate({params}); //format

Browser

<script src = "licenzo.js" type = "text/javascript"></script>
<script>
var md = licenzo.md.generate("William", "Sanford", "Nye", "11", "27");  //N-000-887-758-906
var wa = licenzo.wa.generate("Lawrence", "", "Tureaud", "5", "21", "1952");  //TUREAL*488K1
var fl = licenzo.fl.generate("Paul", "William", "Walker", "9", "12", "1973", "M"); //W426-699-73-332-0
var wi = licenzo.wi.generate("Chris", "Crosby", "Farley", "2", "16", "1964", "M"); //F640-1036-4056-00
</script> 

Testing

npm test

States Currently Supported

  • Florida
    • (firstName, middleName, lastName, dobMonth, dobDay, dobYear, Sex {'M' or 'F'})
  • Maryland
    • (firstName, middleName, lastName, dobMonth, dobDay)
  • Washington
    • (firstName, middleName, lastName, dobMonth, dobDay, dobYear)
  • Wisconsin
    • (firstName, middleName, lastName, dobMonth, dobDay, dobYear, Sex {'M' or 'F'})

Credits

This software uses code from several open source packages.

  • Node.js
  • soundex - helper for indexing names by sound using a phonetic algorithm
  • Alan De Smet - his site provided helpful information about the formatting and structure of some of these ID's

Maintainer

evan.vin  ·  GitHub @evanvin  · 

Disclaimer

I find this information very interesting, but it can be used to do bad things. Like Alan above, I made this project because I am interested in the numbers and structure behind our states driver's license numbers.

Using this information to fabricate fake identification is fraud! Don't be stupid and use this for greedy reasons.

Dependencies (0)

    Dev Dependencies (2)

    Package Sidebar

    Install

    npm i licenzo

    Weekly Downloads

    1

    Version

    1.3.6

    License

    MIT

    Unpacked Size

    203 kB

    Total Files

    20

    Last publish

    Collaborators

    • evanvin