File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
- # Functor
1
+ # Endofunctor
2
2
3
3
Faster router in Deno (Working in the benchmarks)
4
4
5
- Functor was designed to be:
5
+ Endofunctor was designed to be:
6
6
7
7
- Independent
8
8
- Fast
9
9
- Scalable
10
10
- Predictable
11
11
12
12
Get started in 10 Minutes!
13
- ## Get Functor and a server
13
+ ## Get Endofunctor and a server
14
14
15
15
``` typescript
16
- // Functor is just a router, so a server that give a Request and expect Response is needed
16
+ // Endofunctor is just a router, so a server that give a Request and expect Response is needed
17
17
18
18
import {
serve }
from " https://deno.land/[email protected] /http/server.ts" ;
19
19
20
20
// import fun
21
21
22
- import fun from " https://deno.land/x/functor /fun.ts" ;
22
+ import fun from " https://deno.land/x/endofunctor /fun.ts" ;
23
23
```
24
24
## Give a path and a function
25
25
@@ -114,7 +114,7 @@ await serve(
114
114
{ port: 8080 , hostname: " 127.0.0.1" },
115
115
);
116
116
```
117
- ## Static file is natively build in functor !
117
+ ## Static file is natively build in Endofunctor !
118
118
119
119
``` typescript
120
120
// "path" is relative to terminal
@@ -179,4 +179,4 @@ type ParamsMethod = "GET" | "HEAD" | "POST" | "DELETE";
179
179
180
180
## License
181
181
182
- [ CC BY-ND 4.0] ( https://creativecommons.org/licenses/by-nd/4.0/legalcode.txt )
182
+ [ CC BY-ND 4.0] ( https://creativecommons.org/licenses/by-nd/4.0/legalcode.txt )
You can’t perform that action at this time.
0 commit comments