A passport code generator. Generates passport codes like this:
26109Q5FB7D<<9203147X2205142<<<<<<<<<<<<<<<6
I wrote the basic script as a terrible dev console snippet and then got almost lost in building a neat NodeJS command-line tool from it.
Currently, only German passport codes are supported.
Contributions for other countries and document types are welcome!
The package name was an unconscious play of words because I still own a German passport while living in Austria where Germknödel are hugely popular. (And delicious, btw.)
Now the name got stuck. Sorry. 🤷🏻
npm --global install germknoedel
germknoedel --help
germknoedel --authority 3533 --gender female 1970-01-01 2019-12-31
germknoedel --serial 6068T5DH1
germknoedel --format json
germknoedel --query '*'
- A. Beck for their excellent resources about anything regarding checksum calculation, especially the pages Deutscher Reisepass and Behördenkennzahl.
- Pi’s World for additional information about the checksum for the latest German passport.