Gathering detailed insights and metrics for craydent-json-parser
Gathering detailed insights and metrics for craydent-json-parser
Gathering detailed insights and metrics for craydent-json-parser
Gathering detailed insights and metrics for craydent-json-parser
npm install craydent-json-parser
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-json-parser@1.0.2
Unpacked Size
20.88 kB
Size
5.33 kB
File Count
22
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-json-parser'); 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-json-parser/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-json-parser/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: JSON Parser that can handle types and refs
Return: (Object)
Parameters:
- text: (String) A valid JSON string.
- reviver?: (Reviver) A function that transforms the results. This function is called for each member of the object. If a member contains nested objects, the nested objects are transformed before the parent object is.
- values?: (Object) Key/value pairs to be used to replace template variables defined in the json.
Overloads:
None
Info: JSON Parser that can handle types and refs
Return: (String)
Parameters:
- json: (Object) A JavaScript value, usually an object or array, to be converted.
- replacer?: (Replacer) A function that transforms the results. This function is called for each member of the object. If a member contains nested objects, the nested objects are transformed before the parent object is.
- space?: (String|Integer) Adds indentation, white space, and line break characters to the return-value JSON text to make it easier to read.
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