Skip to content
This repository has been archived by the owner on Apr 9, 2020. It is now read-only.

grundstein/server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@grundstein/server

WIP. NOT IN PRODUCTION YET!

serves a local directory (process.cwd() + 'public' is the default)

it is recommended to install @grundstein/cli instead, which includes both this package, as well as @grundstein/builder in one cli.

installation

npm i @grundstein/server

usage

// show full help
grundstein-server --help

// serve the ./public directory
grundstein-server

// serve specific directories
grundstein-server --dir local/directory/path /global/directory/path

// serve on specific port
grundstein-server --port 2323

About

NOT YET BENCHMARKED OR IN PRODUCTION! @grundstein/server. serves static pages and their apis. caches what it can.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published