tailf 1.1.0 copy "tailf: ^1.1.0" to clipboard
tailf: ^1.1.0 copied to clipboard

A pure dart implementation of `tail -f` providing a stream of `Uint8Bytes`, `String`, or split by lines.

example/main.dart

import 'dart:io';

import 'package:tailf/tailf.dart';

main() async {
  final tail = TailFile(File('/var/log/syslog'));
  await for (var line in tail.asLines) {
    print('system log: $line');
  }
}
3
likes
150
points
59
downloads

Publisher

verified publishermcdole.org

Weekly Downloads

A pure dart implementation of `tail -f` providing a stream of `Uint8Bytes`, `String`, or split by lines.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

collection

More

Packages that depend on tailf