2.4.2 • Published 10 months ago

chef-express v2.4.2

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

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

2.3.0

10 months ago

2.2.0

10 months ago

2.4.1

10 months ago

2.4.0

10 months ago

2.4.2

10 months ago

2.1.4

1 year ago

1.5.1

2 years ago

1.5.0

2 years ago

2.1.2

2 years ago

2.1.1

2 years ago

2.1.3

2 years ago

2.1.0

2 years ago

2.0.0

2 years ago

1.4.0

2 years ago

1.3.0

3 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.1.0

3 years ago

1.0.20

3 years ago

1.0.19

3 years ago

1.0.18

3 years ago

1.0.17

3 years ago

1.0.16

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago