Utility functions
- Source:
Methods
(static) inspect(obj, depthopt) → {string}
Deep inspect an object
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
obj |
Object | the object to inspect | ||
depth |
number |
<optional> |
20 | recursion depth |
- Source:
Returns:
- Type
- string
(static) sha256(data) → {string}
Compute the SHA256 hash of some data
Parameters:
Name | Type | Description |
---|---|---|
data |
string | the data to hash |
- Source:
Returns:
- Type
- string