
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
craydent-typeof
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-typeof');
$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-typeof/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-typeof/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: Object class extension to check if object is an array
Return: (Bool)
Parameters:
None
Overloads:
None
Info: Object class extension to check if object is a async function
Return: (Bool)
Parameters:
None
Overloads:
None
Info: Object class extension to check if object is between lower and upper bounds
Return: (Bool)
Parameters:
- lowerBound: (any) Lower bound comparison
- upperBound: (any) Upper bound comparison
- inclusive?: (Bool) Flag to include give bounds
Overloads:
None
Info: Object class extension to check if object is a boolean
Return: (Bool)
Parameters:
None
Overloads:
None
Info: Object class extension to check if object is a date
Return: (Bool)
Parameters:
None
Overloads:
None
Info: Object class extension to check if object is a DOM element
Return: (Bool)
Parameters:
None
Overloads:
None
Info: Object class extension to check if it is empty
Return: (Bool)
Parameters:
None
Overloads:
None
Info: Object class extension to check if object is an error object
Return: (Bool)
Parameters:
None
Overloads:
None
Info: Object class extension to check if object is a float
Return: (Bool)
Parameters:
None
Overloads:
None
Info: Object class extension to check if object is a function
Return: (Bool)
Parameters:
None
Overloads:
None
Info: Object class extension to check if object is a generator function
Return: (Bool)
Parameters:
None
Overloads:
None
Info: Object class extension to check if object is a geolocation
Return: (Bool)
Parameters:
None
Overloads:
None
Info: Object class extension to check if object is an integer
Return: (Bool)
Parameters:
None
Overloads:
None
Info: Check if a value is Null
Return: (Bool|any)
Parameters:
- value: (any) Value to check
Overloads:
Parameters
- value: (any) Value to check
- defaultValue: (any) Value to return if null
Info: Object class extension to check if object is a null or empty (object with no props, empty string, etc)
Return: (Bool)
Parameters:
None
Overloads:
None
Info: Object class extension to check if object is a number
Return: (Bool)
Parameters:
None
Overloads:
None
Info: Object class extension to check if object is an object
Return: (Bool)
Parameters:
None
Overloads:
None
Info: Object class extension to check if object is a promise object
Return: (Bool)
Parameters:
None
Overloads:
None
Info: Object class extension to check if object is a RegExp
Return: (Bool)
Parameters:
None
Overloads:
None
Info: Object class extension to check if object is a string
Return: (Bool)
Parameters:
None
Overloads:
None
FAQs
Node module for type checking
We found that craydent-typeof demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.