Package selection guidance compiled from public package information, community data, and project usage.
A type-safe Dart package for parsing pubspec.yaml files, offering clear and detailed error reporting. It enables developers to programmatically read and validate Flutter and Dart project configurations with ease. The API is designed for reliability and developer experience, making it ideal for tools that need to analyze or modify pubspec files. Built by the Dart team, it ensures compatibility across all major platforms.
Use cases
Parsing pubspec.yaml in build scripts
Validating project dependencies programmatically
Generating project metadata
Automating package configuration tasks
Integrating with CLI tools
Key features
Type-safe parsing API
Comprehensive error messages
Support for all Dart/Flutter platforms
First-party Dart tooling
Robust YAML parsing with validation
Suitable for
Build system developers
CLI tool authors
Package maintainers
CI/CD pipeline integrators
Dart language tooling projects
Considerations
Requires Dart 2.17 or higher
Not intended for runtime use in apps
Best suited for development-time tools
Limited to pubspec.yaml format
No support for dynamic pubspec modifications
Original README
Original README snapshot from the linked source repository. Visit the repository for the latest content.
Overview
This repository is home to tooling related Dart packages. Generally, this means
packages published through the
tools.dart.dev publisher that
don't naturally belong to other topic monorepos (like
dart-lang/build,
dart-lang/test, or
dart-lang/shelf).
A client library for authenticating with a remote service via OAuth2 on behalf of a user, and making authorized HTTP requests with the user's OAuth2 credentials.