Skip to content

Commit ad4422b

Browse files
authored
rename repo and add features 🔥
1 parent ddac898 commit ad4422b

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# ramda-normalize-url
2-
Fun experiment to normalize URLs w/ ramda
1+
# functional-normalize-url
2+
Fun experiment to normalize URLs w/ functional programming
33

44
## Usage
55

66
```js
7-
const normalize = require('ramda-normalize-url');
7+
const normalize = require('functional-normalize-url');
88

99
normalize('http://hello.com//there/../buddy/..');
1010
//=> "http://hello.com/there/buddy/"
@@ -14,3 +14,7 @@ normalize('http://hello.com//there/../buddy/..');
1414

1515
- [x] Dedupe slashes
1616
- [x] Dedupe dots
17+
- [x] Decode
18+
- [x] Lowercase scheme
19+
- [x] Remove default http|https ports
20+
- [x] Adds trailing slash

0 commit comments

Comments
 (0)