Gathering detailed insights and metrics for gdate-julian
Gathering detailed insights and metrics for gdate-julian
Gathering detailed insights and metrics for gdate-julian
Gathering detailed insights and metrics for gdate-julian
GDate (glib) style julian days to and from gregorian date converter
npm install gdate-julian
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
LGPL-2.1 License
1 Stars
170 Commits
1 Watchers
6 Branches
3 Contributors
Updated on May 29, 2023
Latest Version
2.0.1
Package Id
gdate-julian@2.0.1
Unpacked Size
32.16 kB
Size
11.81 kB
File Count
9
NPM Version
9.6.2
Node Version
18.16.0
Published on
Apr 20, 2023
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
hpore# GDate (GLib) style julian days to and from gregorian date converter Port of GLib functions to work with julian days, to convert between it and gregorian date. Library was initially developed to help a sister library node-xhb work with file generated by HomeBank
1npm install gdate-julian
Import ESM style
1import {dateToJulianDays, julianDaysToDate} from 'gdate-julian'
Here we show small example how to convert between Gregorian Date and Julian Days
More detailed examples can be found in tests in ./src/__tests__/date_conversion_spec.js
1const julianDays = dateToJulianDays(new Date('1900-01-01T12:00:00Z')) 2console.log(julianDays) // outputs 693596
1const gregorianDate = julianDaysToDate(693596) 2console.log(gregorianDate) // outputs 1900-01-01T12:00:00Z
Project also includes type definitions for TypeScript in ./src/index.d.ts
The code provided here is based off GLib codebase, hence licenced under same LGPL.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
Project has not signed or included provenance with any releases.
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
13 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More