
Research
/Security News
PolinRider Spreads Through Compromised GitHub Accounts and Packagist
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.
craydent-json-parser
Advanced tools
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
// require with prototypes - this require will add prototypes to extend classes and add two constants ($c, $g) to the global space.
// $g is an alias to global and $c is the constant containing all the utility methods and properties.
require('craydent-json-parser');
$c.logit($c.VERSION);
arr.prototypedMethod(args);
// require no conflict - this require is the fully modular version with no global constants, prototypes, or methods.
var $c = require('craydent-json-parser/noConflict');
$c.logit($c.VERSION);
$c.prototypedMethod(arr, args);
// require global - this require constants and methods in the global space and add prototypes to extend classes.
// $g is an alias to global and $c is the constant containing all the utility methods and properties.
require('craydent-json-parser/global');
logit($c.VERSION);
arr.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
FAQs
Node module to parse complex json including circular references
The npm package craydent-json-parser receives a total of 43 weekly downloads. As such, craydent-json-parser popularity was classified as not popular.
We found that craydent-json-parser demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.

Security News
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.

Company News
Allow myself to introduce... myself.