Gathering detailed insights and metrics for craydent-date
Gathering detailed insights and metrics for craydent-date
Gathering detailed insights and metrics for craydent-date
Gathering detailed insights and metrics for craydent-date
npm install craydent-date
Typescript
Module System
Node Version
NPM Version
70.1
Supply Chain
55.4
Quality
78.5
Maintenance
100
Vulnerability
100
License
TypeScript (62.82%)
JavaScript (37.02%)
Shell (0.17%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
259 Commits
1 Watchers
2 Branches
2 Contributors
Updated on Aug 15, 2022
Latest Version
1.0.2
Package Id
craydent-date@1.0.2
Unpacked Size
37.33 kB
Size
8.65 kB
File Count
32
NPM Version
10.5.2
Node Version
21.4.0
Published on
Sep 20, 2024
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
by Clark Inada
Craydent is all inclusive utility library. There are several ways to use the library in NodeJS. More detailed documentation on constants can be found at Craydent Properties. More detailed documentation on methods can be found at Craydent Methods
1// require with prototypes - this require will add prototypes to extend classes and add two constants ($c, $g) to the global space. 2// $g is an alias to global and $c is the constant containing all the utility methods and properties. 3require('craydent-date'); 4$c.logit($c.VERSION); 5arr.prototypedMethod(args);
1// require no conflict - this require is the fully modular version with no global constants, prototypes, or methods. 2var $c = require('craydent-date/noConflict'); 3$c.logit($c.VERSION); 4$c.prototypedMethod(arr, args);
1// require global - this require constants and methods in the global space and add prototypes to extend classes. 2// $g is an alias to global and $c is the constant containing all the utility methods and properties. 3require('craydent-date/global'); 4logit($c.VERSION); 5arr.prototypedMethod(args);
CONSOLE_COLORS (Object) | LOCAL_IP (String) | TEMPLATE_TAG_CONFIG (Object) |
DEBUG_MODE (Boolean) | MODULES_LOADED (Object) | TEMPLATE_VARS (Array) |
ERROR_TYPES (Array) | PUBLIC_IP (String) | VERSION (String) |
HTTP_STATUS_TEMPLATE (Object) | RESPONSES (Object) |
Info: Date class extension to convert to formatted string
Return: (String)
Parameters:
- format: (String) Format syntax to use to to format date
Overloads:
Parameters
- format: (String) Format syntax to use to to format date
- options: (Object) specs with optional properties:
(Bool) gmt
(Int) offset
Info: Date class extension to retrieve the day of the year
Return: (Int)
Parameters:
None
Overloads:
None
Info: Date class extension to retrieve the week number in the year
Return: (Int)
Parameters:
None
Overloads:
None
Info: Date class extension to check if the date is valid
Return: (Bool)
Parameters:
None
Overloads:
None
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
security policy file not detected
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Reason
12 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