Skip to main content

mockbeam_record 1.0.1 copy "mockbeam_record: ^1.0.1" to clipboard
mockbeam_record: ^1.0.1 copied to clipboard

A Dart CLI proxy that captures real HTTP API responses and writes them as dio_mock_interceptor-compatible YAML.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate mockbeam_record

Use it

The package has the following executables:

$ mockbeam_record

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add mockbeam_record

With Flutter:

 $ flutter pub add mockbeam_record

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

dependencies:
  mockbeam_record: ^1.0.1

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:mockbeam_record/mockbeam_record.dart';
4
likes
160
points
12
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Dart CLI proxy that captures real HTTP API responses and writes them as dio_mock_interceptor-compatible YAML.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

args, yaml, yaml_writer

More

Packages that depend on mockbeam_record