Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

chef-express

Package Overview
Dependencies
Maintainers
2
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chef-express

static files server = chef-express

latest
Source
npmnpm
Version
3.2.3
Version published
Maintainers
2
Created
Source

chef-express

kisscc0

npm version build status

static files server designed for node written in typescript, with tests

  • express for routing

Serve folder CLI

$ npx chef-express folder

Serve folder node.js

const { cook } = require("chef-express");

cook({ folder: "folder" }).then((server: Express.Application) => {
  // server api is get, post, any
  server.any("/*", (req: Express.Request, res: Express.Response) => {
    res.end("200 OK");
  });
});
  • minimal configuration is zero configuration, all values have defaults
  • if folder param is omitted default index.html is read from folder = '.'
  • serves from http://localhost:3000 unless port specified

Configuration

For more information about config parameters read:

License

MIT

Keywords

chef-js

FAQs

Package last updated on 06 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts