mirror of
https://github.com/antonmedv/fx
synced 2024-11-05 12:00:46 +00:00
Update index.js
This commit is contained in:
parent
cd1803c9b9
commit
0833d11919
@ -49,8 +49,8 @@ echo `{"name": "world"}` | fx 'Object.keys'
|
||||
|
||||
## Advanced Usage
|
||||
|
||||
Fx has a shortcut for the map function. Fox example `this.map(x => x.commit.message)`
|
||||
can be written without leading dot and without `x => x` parts.
|
||||
Fx has a shortcut for the map function. Fox example, `this.map(x => x.commit.message)`
|
||||
can be rewritten without leading dot and without `x => x` parts.
|
||||
|
||||
```sh
|
||||
curl https://api.github.com/repos/antonmedv/fx/commits | fx 'map(.commit.message)'
|
||||
|
Loading…
Reference in New Issue
Block a user