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

The purpose of the library is to have a standard way of generating an object, an Id, that can be used in any of a variety of casing contexts.

example/main.dart

import 'package:register/register.dart';

void main() {
  final register = Register('how_now_brown_cow');
  print(register); // => howNowBrownCow
  print(register.snake); // => how_now_brown_cow
  print(register.emacs); // => how-now-brown-cow
  print(register.shout); // => HOW_NOW_BROWN_COW
  print(register.camel); // => howNowBrownCow
  print(register.capCamel); // => HowNowBrownCow
  print(register.title); // => How Now Brown Cow
  print(register.squish); // => hownowbrowncow
  print(register.abbrev); // => hnbc
}
3
likes
30
points
39
downloads

Publisher

verified publisherscer.io

Weekly Downloads

The purpose of the library is to have a standard way of generating an object, an Id, that can be used in any of a variety of casing contexts.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

collection, quiver

More

Packages that depend on register