shelf_static 0.1.4+1 shelf_static: ^0.1.4+1 copied to clipboard
Static file server support for Shelf
shelf_static
is a Handler
for the Dart shelf
package.
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);
}