Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
desmondhume committed Sep 8, 2015
1 parent aacc486 commit 8f0a6d7
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
### Urlo

A node package to generate url from a string and params

Urlo does just one thing:

```
var urlo = require("urlo");
var myUrl = "http://my-awesome-site.com/author/:authorId/posts/:postId";
urlo(url, { authorId: 1, postId: 2, otherParam: "awesome" })
=> 'http://my-awesome-site.com/author/1/posts/2?otherParam=awesome'
```

0 comments on commit 8f0a6d7

Please sign in to comment.