Merge pull request #11 from LexSwed/2.0.2

[2.0.2] Remove obsolete api info
master
Jon Schlinkert 6 years ago committed by GitHub
commit ca6422fcc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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:

Loading…
Cancel
Save