Goated dart lang

  packages, Packages

🌟 Glowup Vibes 🌟

Goated 🐐 Dart language.

This package is highly inspired by this Babel plugin

See the OG yt short: https://www.youtube.com/watch?v=vgcbwv_3WDU

Installation 💻

❗To get your Glowup Vibes on, make sure you’ve got the Dart SDK installed on your machine.

Install via dart pub add:

dart pub add glowup_vibes

What? 🤔

Glowup Vibes is a Dart package that spices up Dart’s lingo with some “internet slang” flavor. 🚀📚💬

Why?

’cause.

API 📖

Top-level getters:

With rizz No Rizz (original)
onGod true
cap false
noCap true
yesnt false
nice 69
outOfPocket double.infinity
F Returns a Never. Throws a respectful error.
imded Calls exit with code 1.
ragequit Calls exit with code nice.
cya Calls exit with code 0.

Log APIs:

Based Mason Logger

With rizz No Rizz (original)
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:

With rizz No Rizz (original)
future.letItCook((value) { ... }, ohnoes: () { ... }) future.then((value) { ... }, onError: () { ... })
future.busted((error) { ... }) future.catchError((error) { ... })

String APIs:

With rizz No Rizz (original)
'lets go FAM'.lowkey lets go fam.toLowerCase()
'lets go FAM'.highkey LETS GO FAM.toUpperCase()
'lets go FAM'.mock lEts gO Fam (spOngE bOB case)

Other APIs:

With rizz No Rizz (original)
fr(assertion) assert(assertion);
cook(value) Future.value(value)
derp(error) Future.error(error)
holdup([future1, future2]) Future.wait([future1, future2])
yeet(exception) throw exception
brb(Duration(seconds: 1)) Future.delayed(Duration(seconds: 1))
typah(something) Type typah<T>(T wat) => T

 

Download and/or contribute to this package source code at

https://github.com/renancaraujo/glowup_vibes