Parses an array or null
Parses a boolean field
Parses a date field
Parses a number field
The hackerapi responses
The hackerapi.js field
The number or undefined if neither format contained a number
Parses a string field
Parses a field that could be a string or null
Parses a token
Undefined if couldn't parse token
Converts a response from hackerapi into a data uri
Returns a new object with the same data as cc but with keys with underscore naming convention instead of camelcase
let cc = { camelCase: true } let u = HackerAPI.Utils.toUnderscoreKeys(cc); // u: { camel_case: true }
Converts a variable from camelcase to underscores
Generated using TypeDoc
Converts a variable from underscores to camelcase