embed-express

2.0.0 • Public • Published

embed-express

npm package

Embed a very minimal express server in the current folder.

Why?

You started a little front-end project by creating a folder and putting files in it... then you thought "It would be handy to have a little web server here, to service ajax requests." At this point, your fingers fly to the console:

npx embed-express

Voila!

Installation notes

Start in a folder that needs an express.

Configuration

By default, the express server runs on port 3001. You can override that by setting the PORT evironment variable.

Readme

Keywords

Package Sidebar

Install

npm i embed-express

Weekly Downloads

5

Version

2.0.0

License

ISC

Unpacked Size

3.84 kB

Total Files

4

Last publish

Collaborators

  • sgamon