Skip to content

A set of javascript functions for interpreting Ahnentafel numbers for genealogy. Compatible with, but does not require Node.js.

License

Notifications You must be signed in to change notification settings

Jukilum/ahnen.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ahnen.js

A set of javascript functions for interpreting ahnentafel numbers for genealogy. Try it out here.

Works with node.js. A standalone version of the code is available in the Standalone folder.

Functions

ahnen.sex(int)

Returns string Male or Female associated with the Ahnen number int.

ahnen.line(int)

Returns string 'rootPerson', 'fathersLine', 'mothersLine', or 'undetermined'.

ahnen.fullLine(int)

IMPORTANT! In this function M means Mother and F means Father, NOT male and female.

Returns an array of the relationship between ahnen number int and ahnen number 1. For example, the ahnen number 10 would return the array [M, F, M], meaning the root person's mother's father's mother.

About

A set of javascript functions for interpreting Ahnentafel numbers for genealogy. Compatible with, but does not require Node.js.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published