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.1"}
]
end
The docs can be found at https://hexdocs.pm/common_x.
Extensions
The following modules have extension:
ApplicationX
(Application
extension)EnumX
(Enum
extension)MapX
(Map
extension)Macro
(Macro
extension)
Changelog
2019-10-12 (v0.2.0)
Add
ApplicationX
extension with the following methods:applications/0
list all applications, without starting.applications/1
list all dependencies, without starting.modules/0
list all modules, without starting applications.modules/1
list all modules in given applications, without starting them.
2019-01-01 (v0.0.2)
Add
MacroX
extension with the following methods:camalize/1
proper camelCase forstring
andatom
.pascalize/1
proper PascalCase forstring
andatom
.snakize/1
proper snake_case forstring
andatom
.underscore/1
alias forsnakize
.