v0.1.3

resolves kevmoo/shelf_static.dart#2
5 files changed
tree: 80d65ad9d458aed986bd4e0846e77617567a77a1
  1. example/
  2. lib/
  3. test/
  4. tool/
  5. .gitignore
  6. CHANGELOG.md
  7. LICENSE
  8. pubspec.yaml
  9. README.md
README.md

shelf_static is a Handler for the Dart shelf package.

Build Status

Example

import 'package:shelf/shelf_io.dart' as io;
import 'package:shelf_static/shelf_static.dart';

void main() {
  var handler = createStaticHandler('files');

  io.serve(handler, 'localhost', 8080);
}