pathrouter 0.1.2 copy "pathrouter: ^0.1.2" to clipboard
pathrouter: ^0.1.2 copied to clipboard

A middleware component for use with the shelf plugin, provides a means of adding a specific set of routes to be handled by a path prefix

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add pathrouter

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  pathrouter: ^0.1.2

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:pathrouter/pathrouter.dart';
4
likes
40
pub points
0%
popularity

Publisher

unverified uploader

A middleware component for use with the shelf plugin, provides a means of adding a specific set of routes to be handled by a path prefix

Repository (GitHub)
View/report issues

License

Apache-2.0 (LICENSE)

Dependencies

shelf, shelf_router

More

Packages that depend on pathrouter