express-promise-router
server
express-promise-router | server | |
---|---|---|
1 | 2 | |
378 | 3,560 | |
0.3% | - | |
8.5 | 4.3 | |
3 days ago | about 2 months ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
express-promise-router
server
-
Node.js 20 is now available
I created Server.js https://serverjs.io/ and still use it. It is a wrapper around express:
- With a bunch of middleware included and pre-configured, like body-parser, cookies, Helmet, etc. All express middleware works with Server.js
- async/await routers as expected: get('/users', async (ctx) => {...}); (ctx inspired by Koa)
- Websockets, where messages behave just as another route: socket('message', async ctx => { ... });
-
I'd like to review your README
I did that! I hope you are not the person who suffered that from me (did you use Picnic CSS a few years back?). So for a newer project I put some setup code that will look for all code snippets with a specific comment and run that with the code after the comment. For generating the website documentation that test bit can be stripped (though I kept it for now).
Example: https://github.com/franciscop/server/blob/master/docs/docume...
What are some alternatives?
bash - Unofficial mirror of bash repository. Updated daily.
cargo-readme - Generate README.md from docstrings
p-map - Map over promises concurrently
jest-extended - Additional Jest matchers 🃏💪
lazy-static.rs - A small macro for defining lazy evaluated static variables in Rust.
routing-controllers - Create structured, declarative and beautifully organized class-based controllers with heavy decorators usage in Express / Koa using TypeScript and Routing Controllers Framework.
cram - Functional tests for command line applications
express-promise-ro
architect - The simplest, most powerful way to build a functional web app (fwa)