Skip to content

sgamon/embed-express

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Embed a minimal express server in the current directory.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published