CommonX
Extension of common Elixir modules.
Installation
The package can be installed by adding common_x to your list of dependencies in mix.exs:
def deps do
[
{:common_x, "~> 0.2.3"}
]
end
The docs can be found at https://hexdocs.pm/common_x.
Extensions
The following modules have extension:
ApplicationX(Applicationextension)EnumX(Enumextension)MapX(Mapextension)Macro(Macroextension)
Changelog
2019-12-23 (v0.2.3)
- Fix
MapX.new/2spec.
2019-10-12 (v0.2.0)
- Add
ApplicationXextension with the following methods:applications/0list all applications, without starting.applications/1list all dependencies, without starting.modules/0list all modules, without starting applications.modules/1list all modules in given applications, without starting them.
2019-01-01 (v0.0.2)
- Add
MacroXextension with the following methods:camalize/1proper camelCase forstringandatom.pascalize/1proper PascalCase forstringandatom.snakize/1proper snake_case forstringandatom.underscore/1alias forsnakize.