Gathering detailed insights and metrics for craydent-number
Gathering detailed insights and metrics for craydent-number
Gathering detailed insights and metrics for craydent-number
Gathering detailed insights and metrics for craydent-number
npm install craydent-number
Typescript
Module System
Node Version
NPM Version
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-number@1.0.2
Unpacked Size
38.41 kB
Size
8.48 kB
File Count
35
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-number'); 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-number/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-number/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: Number class extension to check if values are approximately equal
Return: (Bool)
Parameters:
- compare: (Number) Number to compare
- giveOrTake: (Number) Plus/minus value
Overloads:
None
Info: Object class extension to check if value exists
Return: (Bool)
Parameters:
- val: (ContainsValue|ContainsObjectIterator<T, TValue>) Value to check or custom function to determine validity
Overloads:
Parameters
- val: (ContainsValue) Value to check
- func: (ContainsIterator
) Callback function used to do the comparison
Parameters
- val: (ContainsValue) Value to check
- func: (ComparisonOperator) String indicating logical operator ("$lt"|"$lte"|"$gt"|"$gte"|"$mod"|"$type")
Parameters
- arr: (Array
) Array of values to return first matching value
Info: Object class extension to check if object values are equal
Return: (Bool)
Parameters:
- compare: (any) Object to compare against
- props?: (String[]) Array of property values to compare against
Overloads:
None
Info: Number class extension to check if number is even
Return: (Bool)
Parameters:
None
Overloads:
None
Info: Number class extension to check if number is odd
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