rand 5.0.1 copy "rand: ^5.0.1" to clipboard
rand: ^5.0.1 copied to clipboard

Seedable test-data generator: names, emails, IPs, UUIDv4/v7, ULID, hex, slugs, digits, semver, lorem, CSS colors, geo, weighted samples, CSPRNG tokens. Pure Dart. Agent skill.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add rand

With Flutter:

 $ flutter pub add rand

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

dependencies:
  rand: ^5.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:rand/rand.dart';
5
likes
160
points
179
downloads

Documentation

API reference

Publisher

verified publishermehmetesen.com

Weekly Downloads

Seedable test-data generator: names, emails, IPs, UUIDv4/v7, ULID, hex, slugs, digits, semver, lorem, CSS colors, geo, weighted samples, CSPRNG tokens. Pure Dart. Agent skill.

Repository (GitHub)
View/report issues
Contributing

Topics

#random #fixtures #fake-data #mock #testing

License

MIT (license)

More

Packages that depend on rand