You can see below the API reference of this module.
Fetches birthday data.
- Function
callback
: The callback function.
- Birthday The
Birthday
instance.
Reads the JSON file.
- Function
callback
: The callback function.
- Birthday The
Birthday
instance.
Writes the JSON information in the file.
- Object
content
: The content as object. - Function
callback
: The callback function.
- Birthday The
Birthday
instance.
Inserts a new birthday.
- Object
data
: An object which will be passed to theBirthday.Event
constructor. - Function
callback
: The callback function.
- Birthday The
Birthday
instance.
Find coming birthdays until the provided date.
- Date|String
d
: The date before you want to get the birthdays. - Function
callback
: The callback function.
Sort the birthday dates.
- Object
obj
: An object containing thebirthdays
array.
- Array The sorted birthdays.