FLUTTER ECOSYSTEM

pubspec_lock_parse

Simple package for parsing pubspec.lock files with a type-safe API and rich error reporting.

Latest version
2.2.0
30-day downloads
110.6K
Likes
2
Pub points
140

Package Overview

Selection guidance generated from public package information. For reference only.

Overview

A type-safe Dart package designed to parse pubspec.lock files with clear, detailed error reporting. It provides a structured API for reading and analyzing dependency information from Flutter and Dart projects, making it easier to programmatically inspect package versions and dependencies. Ideal for tooling that requires reliable access to lock file data without manual string parsing.

Use cases
  • Parsing dependency versions in CI/CD pipelines
  • Validating project dependencies
  • Building custom dependency analysis tools
  • Automating version checks in development workflows
Key features
  • Type-safe API
  • Comprehensive error messages
  • Supports all major platforms
  • Easy integration via Flutter pub
  • Accurate lock file parsing
Suitable for
  • Tool developers
  • CI/CD script authors
  • Dependency management utilities
  • Dart/Flutter CLI extensions
Considerations
  • Requires valid pubspec.lock format
  • Not intended for modifying lock files
  • Limited to read-only operations
  • Depends on correct file structure
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add pubspec_lock_parse

Categories

Source repository

Related projects

No data available yet.

Rankings