Update README.md

js-version
Anton Medvedev 6 years ago
parent f7e180deb2
commit b93cda14d2

@ -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).

Loading…
Cancel
Save