shelf_ndjson_stream 0.1.0 copy "shelf_ndjson_stream: ^0.1.0" to clipboard
shelf_ndjson_stream: ^0.1.0 copied to clipboard

A wrapper for easily streaming ndjson responses from a shelf server.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add shelf_ndjson_stream

With Flutter:

 $ flutter pub add shelf_ndjson_stream

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  shelf_ndjson_stream: ^0.1.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:shelf_ndjson_stream/shelf_ndjson_stream.dart';
1
likes
160
pub points
0%
popularity

Publisher

verified publisheralxbkr.xyz

A wrapper for easily streaming ndjson responses from a shelf server.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

shelf

More

Packages that depend on shelf_ndjson_stream