glowup_vibes 1.0.0
glowup_vibes: ^1.0.0 copied to clipboard
Goated Dart language. Glowup Vibes is a Dart package that adds some "internet slang" to Dart vocabulary.
🌟 Glowup Vibes 🌟 #
Goated Dart language #
Goated 🐐 Dart language.
Inspired by this Babel plugin
Installation 💻 #
❗ In order to start using Glowup Vibes you must have the Dart SDK installed on your machine.
Install via dart pub add:
dart pub add glowup_vibes
Wat? 🤔 #
Glowup Vibes is a Dart package that adds some "internet slang" to Dart vocabulary.
Why? #
Because.
API 📖 #
Top level getters: #
onGod:truecap:falsenoCap:trueyesnt:falsenice:69outOfPocket:double.infinityF: Returns aNever. Throws a respectful error.imded: Calls exit withcode1.ragequit: Calls exit withcode1.cya: Calls exit withcode0.
Log APIs: #
Based on Mason Logger
lowkey.stan(message):logger.info(message)lowkey.sus(message):logger.warn(message)lowkey.cringe(message):logger.err(message)lowkey.drip(message):logger.detail(message)lowkey.tea(message):logger.success(message)lowkey.flex(message):logger.success(message)
Future APIs: #
future.letItCook((value) { ... }, ohnoes: () { ... }):future.then((value) { ... }, onError: () { ... })future.busted((error) { ... }):future.catchError((error) { ... })
String APIs: #
'lets go FAM'.lowkey:letsgo fam'lets go FAM'.lowkey:LETSGO FAM'lets go FAM'.mock:lEtsgO Fam
Other APIs: #
| API | Equivalent |
|---|---|
dart fr(assertion) |
dart assert(assertion); |
dart cook(value) |
dart Future.value(value) |
dart derp(error) |
dart Future.error(error) |
dart holdup([future1, future2]) |
dart Future.wait([future1, future2]) |
dart yeet(exception) |
dart throw exception |
dart brb(Duration(seconds: 1)) |
dart Future.delayed(Duration(seconds: 1)) |
dart typah(something) |
dart Type typah<T>(T wat) => T |