Question is self explanatory. Relatively unknown libraries (less popular) are welcome.
Maybe explain what use case (context) led you to gravitate to library you mention.
Question is self explanatory. Relatively unknown libraries (less popular) are welcome.
Maybe explain what use case (context) led you to gravitate to library you mention.
I love Oban. I use puid
for generating short-lived sign-in tokens.
Besides the most common Phoenix and Phoenix adjacent libs, I usually end up adding Mox, Tesla, Quantum and Briefly to most projects I work on.
I’ve had some pretty good luck with fast64. NIF for encoding and decoding base64.
Some libraries I use with Metamorphic:
The latest versions of Ecto have support for Enum field.
The native Elixir implementation is too slow for your use case?
I always use Nimble CSV when I deal with CSV files
In some of our use cases that we have, yes. For small binary blobs, it is negligible. But for larger blobs it is noticeable.
I’ll check out fast64, thanks for mentioning. I have some pretty big blobs being encoded/decoded with the way we handle encrypting and decrypting people’s images.
I use ex_json_schema for validating some healthcare data.
A lot of essential and interesting libraries have already been mentioned.
I would like to mention the ones I use to do internationalization in my Phoenix projects.
I find that in this regard, @kip brings an invaluable grain of salt with his suite of CLDR libraries (Elixir CLDR · GitHub). I use them in most of my projects.
Still in the field of internationalization, I also have a project in production that uses trans (GitHub - crbelaus/trans: Embedded translations for Elixir) to allow users to add content in several languages to the database.
Finally, although it’s not yet in production, I’m also closely following the phoenix_localized_routes library. I think that this library will greatly improve the SEO of multilingual phoenix applications with ease.
Many thanks to all the contributors of the mentioned libraries as well as those which have not yet been mentioned. ^^
great thread!
typed_Struct - non-db structs made easy. alternative for Ecto Schemas that I haven’t tried yet: typed_ecto_schema.
shorted_maps - ES6 like destructing. I’ve not used this repo yet, but it’s going to replace my custom modukle that i’ve been copy-pasting across projects.
timex - formatting dates/times.