2.1.3 • Published 11 months ago
chef-express v2.1.3
chef-express
static files server designed for node written in typescript, with tests
express
for routing
Command-Line Running
$ npx chef-express folder [--debug] [--ssl] [--port 443] [--maxCacheSize 0]
Installation
$ yarn add chef-express
Minimal configuration is specifying folder, then it serves it from http://localhost:4200
const startServer = require("chef-express");
const config = { folder: "docs" };
startServer(config).then((server: Express.Application) => {
// server router api is get, post, any
server.any("/*", (req: Express.Request, res: Express.Response) => {
res.end("200 OK");
});
});
License
MIT
1.5.1
11 months ago
1.5.0
11 months ago
2.1.2
11 months ago
2.1.1
11 months ago
2.1.3
11 months ago
2.1.0
11 months ago
2.0.0
11 months ago
1.4.0
1 year ago
1.3.0
2 years ago
1.2.1
2 years ago
1.2.0
2 years ago
1.1.0
2 years ago
1.0.20
2 years ago
1.0.19
2 years ago
1.0.18
2 years ago
1.0.17
2 years ago
1.0.16
2 years ago
1.0.15
2 years ago
1.0.14
2 years ago
1.0.13
2 years ago
1.0.12
2 years ago
1.0.11
2 years ago
1.0.10
2 years ago
1.0.9
2 years ago
1.0.8
2 years ago
1.0.7
2 years ago
1.0.6
2 years ago
1.0.5
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago