Skip to content

Commit b6fc277

Browse files
rarkinsanonrig
authored andcommittedMay 7, 2022
docs: fix typo in README
1 parent 855bcc4 commit b6fc277

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ npm i --save url-state-machine
1212

1313
```javascript
1414
const URLStateMachine = require('url-state-machine')
15-
const state = new URL('https://www.yagiz.co/implementing-node-js-url-parser-in-webassembly-with-rust')
15+
const state = new URLStateMachine('https://www.yagiz.co/implementing-node-js-url-parser-in-webassembly-with-rust')
1616

1717
console.log(state.url)
1818
// {

0 commit comments

Comments
 (0)
Please sign in to comment.