From 0833d11919dabc9ee3c8113790b25d166fc60302 Mon Sep 17 00:00:00 2001 From: Anton Medvedev Date: Mon, 10 Apr 2023 21:29:14 +0200 Subject: [PATCH] Update index.js --- npm/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/npm/README.md b/npm/README.md index 9c21ef7..892a4c7 100644 --- a/npm/README.md +++ b/npm/README.md @@ -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)'