[2.0.2] Remove obsolete api info

master
LexSwed 6 years ago
parent a2a1ba179a
commit a63b83c828

@ -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. * `config` **{Object}**: The parsed git config object.
* `returns` **{Object}** * `returns` **{Object}**
**Example** **Usage Example**
```js ```js
const config = parse.sync({ path: '/path/to/.gitconfig' }); const config = parse.sync({ path: '/path/to/.gitconfig' });
const obj = parse.expandKeys(config); const obj = parse.expandKeys(config);
``` ```
### .keys examples
Converts ini-style keys into objects:
**Example 1** **Example 1**
```js ```js
@ -136,7 +132,7 @@ const config = {
'foo "baz"': { doStuff: true } 'foo "baz"': { doStuff: true }
}; };
console.log(parse.keys(config)); console.log(parse.expandKeys(config));
``` ```
Results in: Results in:
@ -170,7 +166,7 @@ const config = {
} }
}; };
console.log(parse.keys(config)); console.log(parse.expandKeys(config));
``` ```
Results in: Results in:

Loading…
Cancel
Save