forked from Archives/fx
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
293 B
Markdown
20 lines
293 B
Markdown
2 years ago
|
# Reducers
|
||
|
|
||
|
Fx takes a few arguments after the file name, and converts them to a reducer.
|
||
|
|
||
|
## Node
|
||
|
|
||
|
Access all lodash (or ramda, etc) methods by using [.fxrc](#using-fxrc) file.
|
||
|
|
||
|
```bash
|
||
|
$ fx data.json 'groupBy("commit.committer.name")' 'mapValues(_.size)'
|
||
|
```
|
||
|
|
||
|
## Python
|
||
|
|
||
|
TODO
|
||
|
|
||
|
## Ruby
|
||
|
|
||
|
TODO
|