From a63b83c8286e5956eb41db0b867641a21e540d2b Mon Sep 17 00:00:00 2001 From: LexSwed Date: Sun, 5 Aug 2018 16:31:47 +0300 Subject: [PATCH] [2.0.2] Remove obsolete api info --- README.md | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 0db5919..36aed36 100644 --- a/README.md +++ b/README.md @@ -116,17 +116,13 @@ Returns an object with only the properties that had ini-style keys converted to * `config` **{Object}**: The parsed git config object. * `returns` **{Object}** -**Example** +**Usage Example** ```js const config = parse.sync({ path: '/path/to/.gitconfig' }); const obj = parse.expandKeys(config); ``` -### .keys examples - -Converts ini-style keys into objects: - **Example 1** ```js @@ -136,7 +132,7 @@ const config = { 'foo "baz"': { doStuff: true } }; -console.log(parse.keys(config)); +console.log(parse.expandKeys(config)); ``` Results in: @@ -170,7 +166,7 @@ const config = { } }; -console.log(parse.keys(config)); +console.log(parse.expandKeys(config)); ``` Results in: