Underscore.js Utilities as NoFlo Components
Want to see pretty graphs? Log in now!
npm install noflo-underscore
|22||downloads in the last month|
|Last Published By|
|Version||0.0.4 last updated 9 months ago|
|Keywords||noflo, underscore.js, underscore, utilities|
This module contains simple proxies of Underscore.js functions.
Feel free to contribute new components and graphs! I'll try to incorporate as soon as time allows.
It works exactly like
_.groupBy and accepts individual packets, which
are converted into an array at an
endgroup or a
disconnect to be
_.groupBy applied on it.
- IN: packets each to be grouped by a property
- PROPERTY: the property to group the packets by
- OUT: the grouped object
Grouping by length of strings:
'length' -> PROPERTY GroupBy(underscore/GroupBy) '1\n2\n3' -> IN SplitA(core/SplitStr) OUT -> IN GroupBy() OUT -> IN Output(core/Output)