dartrun 1.0.0 copy "dartrun: ^1.0.0" to clipboard
dartrun: ^1.0.0 copied to clipboard

Execute single-file Dart scripts with embedded dependencies. No separate pubspec.yaml needed - just add dependencies as comments in your script and run it.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

1.0.0 - 2025-12-30 #

Added #

  • Initial stable release of dartrun - A script runner for Dart
  • Support for embedded manifests in Dart scripts
  • Inline dependency declarations using //! dart-deps: syntax
  • Multi-line YAML dependency blocks using //! dart-yaml markers
  • Automatic dependency resolution and caching
  • Script execution with dependency management
  • Compilation support for creating standalone executables
  • Cache management commands (list, clean, clear)
  • Support for running scripts from URLs
  • Shebang support for direct script execution
  • Comprehensive examples including:
    • CSV processing
    • Environment checking
    • File statistics
    • Git statistics
    • HTTP requests
    • JSON API interaction
    • Markdown preview
    • Port scanning
    • Shelf server
    • Todo CLI
    • YAML parsing

Features #

  • Fast script execution with caching
  • No need for separate pubspec.yaml files
  • Cargo-inspired workflow for Dart
  • Compatible with Dart SDK >=3.5.0
0
likes
150
points
28
downloads

Documentation

API reference

Publisher

verified publisherglenfordwilliams.com

Weekly Downloads

Execute single-file Dart scripts with embedded dependencies. No separate pubspec.yaml needed - just add dependencies as comments in your script and run it.

Repository (GitHub)
View/report issues

Funding

Consider supporting this project:

www.buymeacoffee.com

License

MIT (license)

Dependencies

artisanal, crypto, path, yaml

More

Packages that depend on dartrun