UNPKG

1.35 kBMarkdownView Raw
1# Roadmap
2
3Wish list and features. Totally tentative, but nothing set in stone.
4
5
6## Version 1.2
7
8Passport integration. Performance.
9
10
11## Version 1.1
12
13Making Plugin API. Integrate websockets:
14
15```js
16let server = require('server');
17let { socket } = server.router;
18
19server({}, [
20
21 // These come from user-events
22 socket('join', ctx => ctx.io.emit('join', ctx.data)),
23 socket('message', ctx => ctx.io.emit('message', ctx.data)),
24
25 // These are from the native events
26 socket('connect', ctx => { /* ... */ }),
27 socket('disconnect', ctx => { /* ... */ })
28]);
29```
30
31This will require some serious handling, but in exchange will make websockets easily accessible to everyone.
32
33
34
35## Version 1.0
36
37> This is being rushed because NPM asked me to publish 1.x as there were already 0.x version from other person, so version 1.0 will be published with few alphas/betas
38
39Retrieve the old functionality of Express to make it easy to launch a server in Node.js
40
41Todo:
42
43- Testing testing and more testing
44- Good documentation and [tutorials in Libre University](https://en.libre.university/subject/4kitSFzUe)
45
46Done:
47
48- Include all of the libraries
49- Created the base
50- Implemented some of the libraries
51- Use it in real-world projects
52- Make sure that the express-session is secure with the secret (session usage depend on whether the token is provided or not)