README

NAME

DataStar - the real-time hypermedia framework, Rakufied.

SYNOPSIS

use DataStar;

# in your Cro application
sub routes() is export {
    route {
        post -> 'validate' { 
            content 'text/event-stream', datastar {
                patch-elements '<div>Hello there</div>', 
                    selector => '.validation',
                    mode => PatchMode::AFTER;

                my %new-signals = test => 2;

                patch-signals %signals; 
            }
        }
    }
}

DESCRIPTION

DataStar is an Raku-language SDK for data-star, the reactive hypermedia framework that uses signals and server-sent events to integrate hypermedia applications with reactivity.

AUTHOR

Arun Vickram L<[email protected]|mailto:[email protected]>

COPYRIGHT AND LICENSE

Ā© 2025 Arun Vickram

DataStar v0.0.5

A Raku SDK for the data-star hyper media framework

Authors

  • Arun Vickram

License

Artistic-2.0

Dependencies

JSON::Fast::Hyper

Test Dependencies

Provides

  • DataStar
  • DataStar::Constants

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.