daynight

"Day or Night" is a lightweight JavaScript utility designed to determine whether it is currently day or night in the user's location. Remarkably, this script accomplishes its task without requesting the user's location, relying on IP addresses, or utilizi

Package versions

34 VERSIONS IN TOTAL
versionpublisheddirect vulnerabilities
4.0.31 Apr, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
4.0.21 Apr, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
4.0.19 Aug, 2024
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
4.0.1-readme.09 Aug, 2024
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
4.0.09 Aug, 2024
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
4.0.0-upgrade.09 Aug, 2024
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
3.3.119 Jan, 2024
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
3.3.06 Sep, 2022
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
3.2.04 Sep, 2022
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
3.1.116 May, 2022
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
3.1.013 Nov, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
3.0.613 Nov, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
3.0.520 Oct, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
3.0.421 Sep, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
3.0.323 Aug, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
3.0.229 May, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
3.0.127 May, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
3.0.028 Mar, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
2.0.1228 Mar, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
2.0.1120 Mar, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

Get started free