Introduction
Guides
How to Import a Dart Package
If your package already lives on pub.dev or on another pub-compatible registry, you can import it into pckgs.io instead of re-uploading it manually.
Prerequisites
- An organization on pckgs.io with a Dart registry. See Create an Organization.
- Read access to the source registry, if it requires a token.
Import from a Pub-Compatible Registry
- From your organization’s Packages page, click Import Package.
- Enter the Registry URL. Use
pub.devfor the public pub registry, or the URL of your own self-hosted pub-compatible registry:
- If the registry requires authentication, paste an Access Token. Leave it empty for public registries like pub.dev:
- Click Connect to list the packages available on the registry:
- For each package you want to bring in, click Import. Packages are imported under their original name:
http_parser
http_parser
Every version of the package is imported, so it’s ready to install right away.
Related
- Dart Package Registry
- How to Publish a Dart Package
- Dart Package Registry Authentication
- How to Install a Dart Package
Need help? Contact us here or at [email protected].