hyper-analytics
v0.15.0
Published
Data transformations on arrays of congruent JavaScript objects.
Downloads
26
Readme
hyperAnalytics
Data transformations on arrays of uniform objects.
0.12.0
Breaking changes:
- Calculator calling signature changed from
calculator(columnName)
(data row object as context) tocalculator(dataRow, columnName)
(data row object as first parameter).
0.11.0
Breaking changes:
- The default
headerify
behavior is now an unopinionated pass-through. - The
headerify
module has been upgraded to an API.
To force the internal modules to use the previous behavior, issue the following statement before use:
headerify.transform = headerify.capitalize;
For backwards compatibility, the following deprecated usage still works as before, providing the expected capitalize behavior:
header = headerify(field);
However, the new usage is used internally by the data source modules:
header = headerify.transform(field);
This uses the transform
method, which by default is set to the unopinionated headerify.passthrough
which returns its input.