Skip to content

Commit c384b83

Browse files
author
Ian Walter
committed
Improving README
1 parent f43198e commit c384b83

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ yarn add @ianwalter/url
1616
const createUrl = require('@ianwalter/url')
1717

1818
const url = createUrl('https://ianwalter.dev')
19-
2019
url.hostname //=> ianwalter.dev
20+
url.pathname = '/projects'
21+
url.href //=> https://ianwalter.dev/projects
2122
```
2223

2324
## License

0 commit comments

Comments
 (0)