slush-koa-static

Scaffold for a super simple koa-backed static server

Usage no npm install needed!

<script type="module">
  import slushKoaStatic from 'https://cdn.skypack.dev/slush-koa-static';
</script>

README

slush-koa-static Build Status NPM version

Scaffold for a super simple koa-backed static server

Getting Started

Install slush-koa-static globally:

npm i -g slush
npm i -g slush-koa-static

Usage

Create a new folder for your project and run the slush generator within it:

mkdir awesome-app && cd $_
slush koa-static

Starting the server

npm run start

Generator Features

npm packaged public folder

Feel like spicing it up? Got your public files all ready to go in an npm package created with npm pack? No probably, give the generator the url when prompted and it’ll build it right in

Contributing

See the CONTRIBUTING Guidelines

Support

If you have any problem or suggestion please open an issue here.

License

WTFPL

Copyright (c) 2015, Matt Styles