pub_mirror 1.0.7
pub_mirror: ^1.0.7 copied to clipboard

Dart native

A multi-thread tool to download content from Pub. Then the result can be served by a http server and taken as the backend of pub, flutter or even Pub Mirror itself.

Use this package as an executable

1. Install it

You can install the package from the command line:

$ pub global activate pub_mirror

2. Use it

The package has the following executables:

$ pub_mirror

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

dependencies:
  pub_mirror: ^1.0.7

2. Install it

You can install packages from the command line:

with pub:

$ pub get

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

3. Import it

Now in your Dart code, you can use:

import 'package:pub_mirror/pub_mirror.dart';
0
likes
75
pub points
0%
popularity

A multi-thread tool to download content from Pub. Then the result can be served by a http server and taken as the backend of pub, flutter or even Pub Mirror itself.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

i@huiyiqun.me

License

BSD (LICENSE)

Dependencies

args, executor, http, logging, path, pedantic, pub_client, quiver, quiver_log, retry

More

Packages that depend on pub_mirror