@sgohlke/isadult

0.1.4 • Public • Published

isAdult

Note: This is just an example for publishing an npm library using Github actions. It is not recommended to use it in production code!

Functions

  • isAdult(age): Given an age, checks if the person is considered an adult. (deprecated: Use isAdultInCountry instead)
  • isAdultInCountry(age, country): Given an age and country, checks if the person is considered an adult in the given country.

/@sgohlke/isadult/

    Package Sidebar

    Install

    npm i @sgohlke/isadult

    Weekly Downloads

    1

    Version

    0.1.4

    License

    ISC

    Unpacked Size

    4.54 kB

    Total Files

    5

    Last publish

    Collaborators

    • sgohlke