daynight

v3.1.1

This script tries to guess is it dark or light now in the user's location. It doesn't ask for user location. It doesn't rely on IP addresses. It doesn't use bleeding-edge features (like DeviceLightEvent or light-level CSS media).

MIT
Latest version published 3 months ago
    npm install daynight
  
We couldn't find any similar packages Browse all packages

Package Health Score

67 / 100

Security

No known security issues
Powered by Snyk
All security vulnerabilities belong to production dependencies of direct and indirect packages.

Security and license risk for significant versions

All Versions
Version Vulnerabilities License Risk
3.1.1 | 05/2022
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
3.0.6 | 11/2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
2.0.12 | 03/2021
Popular
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
1.0.2 | 03/2019
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
License
MIT
Security Policy
No

Is your project affected by vulnerabilities?

Scan your projects for vulnerabilities. Fix quickly with automated fixes. Get started with Snyk for free.

# Install the Snyk CLI and test your project
npm i snyk -g && snyk test daynight
Get started free

Popularity

Limited

Weekly Downloads (47)

Download trend
Dependents
1
GitHub Stars
3
Forks
0
Contributors
2

Direct Usage Popularity


The npm package daynight receives a total of 47 downloads a week. As such, we scored daynight popularity level to be Limited.

Based on project statistics from the GitHub repository for the npm package daynight, we found that it has been starred 3 times, and that 1 other projects in the ecosystem are dependent on it.

Downloads are calculated as moving averages for a period of the last 12 months, excluding weekends and known missing data points.

Community

Limited
Readme.md
Yes
Contributing.md
No
Code of Conduct
No
Contributors
2
Funding
No

This project has seen only 10 or less contributors.

We found a way for you to contribute to the project! Looks like daynight is missing a Code of Conduct.


Embed Package Health Score Badge

package health: 67/100 package health 67/100

Maintenance

Healthy

Commit Frequency

Open Issues
0
Open PR
0
Last Release
3 months ago
Last Commit
19 days ago

Further analysis of the maintenance status of daynight based on released npm versions cadence, the repository activity, and other data points determined that its maintenance is Healthy.

We found that daynight demonstrates a positive version release cadence with at least one new version released in the past 3 months.

As a healthy sign for on-going project maintenance, we found that the GitHub repository had at least 1 pull request or issue interacted with by the community.

Package

Node.js Compatibility
not defined

Age
3 years
Dependencies
0 Direct
Versions
26
Install Size
292 kB
Dist-tags
1
# of Files
13
Maintainers
1
TS Typings
No

daynight has more than a single and default latest tag published for the npm package. This means, there may be other tags available for this package, such as next to indicate future releases, or stable to indicate stable releases.