nanoid 1.0.0 copy "nanoid: ^1.0.0" to clipboard
nanoid: ^1.0.0 copied to clipboard

A tiny, secure, URL-friendly, unique string ID generator. Dart implementation of ai/nanoid

example/nanoid_example.dart

import 'package:nanoid/nanoid.dart';

void main() {
  var id = nanoid();
  print(id);

  var custom_length_id = nanoid(10);
  print(custom_length_id);
}
117
likes
150
pub points
96%
popularity

Publisher

unverified uploader

A tiny, secure, URL-friendly, unique string ID generator. Dart implementation of ai/nanoid

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on nanoid