server
cram
server | cram | |
---|---|---|
2 | 2 | |
3,560 | 175 | |
- | - | |
4.3 | 2.5 | |
about 2 months ago | almost 2 years ago | |
JavaScript | Python | |
MIT License | GNU General Public License v3.0 only |
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.
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...
cram
-
Is it bad practice to start with Jupyter Notebooks?
Yet not all tests are unit tests. In context of classic, non-interactive CLI programs that accept input only through command line parameters and you need to test their output, that's rather functional testing. For such situations, I found this thing to be nice to work with https://github.com/brodie/cram
-
I'd like to review your README
I've been using https://github.com/brodie/cram for this. It's a neat little shell testing tool that can be told to check that every 4-space indented markdown code block output what it says it outputs, so I just cram my README.md.
An example of this in action: https://github.com/liskin/liscopridge/blame/68a656b7beb10a5c..., https://github.com/liskin/liscopridge/blob/68a656b7beb10a5cd...
What are some alternatives?
cargo-readme - Generate README.md from docstrings
bash - Unofficial mirror of bash repository. Updated daily.
go-concise-encoding - Golang implementation of Concise Binary and Text Encoding
lazy-static.rs - A small macro for defining lazy evaluated static variables in Rust.
docker-flask-example - A production ready example Flask app that's using Docker and Docker Compose.
express-promise-router - A lightweight wrapper for Express 4's Router that allows middleware to return promises
jest-extended - Additional Jest matchers 🃏💪
liscopridge - liskin's collection of protocol bridges
architect - The simplest, most powerful way to build a functional web app (fwa)
leo-editor - Leo is an Outliner, Editor, IDE and PIM written in 100% Python.