Skip to content

Commit

Permalink
docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaly-t committed Jul 12, 2017
1 parent 4e3a601 commit 3a40071
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ URL Connection String Parser - _for all browsers and Node.js versions._
Accepts a URL connection string (with every element being optional):

```
protocol://user:password@hostname:12345/segment1/segment2?param1=value1&param2=value2
protocol://user:password@hostname:12345/seg1/seg2?p1=val1&p2=val2
```

and converts it into an object:
Expand All @@ -22,10 +22,10 @@ and converts it into an object:
host: 'hostname:12345',
hostname: 'hostname',
port: 12345,
segments: ['segment1', 'segment2'],
segments: ['seg1', 'seg2'],
params: {
param1: 'value1',
param2: 'value2'
p1: 'val1',
p2: 'val2'
}
}
```
Expand Down

0 comments on commit 3a40071

Please sign in to comment.