Update README.md

This commit is contained in:
Anton Medvedev 2018-12-02 22:21:37 +07:00
parent f7e180deb2
commit b93cda14d2

View File

@ -50,12 +50,17 @@ Pipe into `fx` any JSON and anonymous function for reducing it.
$ curl ... | fx 'json => json.message'
```
Or same as above but sorter.
Or same as above but short.
```bash
$ curl ... | fx this.message
$ curl ... | fx .message
```
Pass any numbers of arguments as code.
```
curl ... | fx 'json => json.message' 'json => json.filter(x => x.startsWith("a"))'
```
## Documentation
See full [documentation](https://github.com/antonmedv/fx/blob/master/docs.md).