Packages
A comprehensive Elixir library for number formatting, calculation, and internationalization. Features include currency formatting, number-to-word conversion, financial calculations, statistics, unit conversion, and tax calculations.
Current section
Files
Jump to
Current section
Files
mix.exs
defmodule NumberF.MixProject do
use Mix.Project
def project do
[
app: :number_f,
version: "0.1.0",
elixir: "~> 1.14",
package: package(),
name: "Number Functions",
start_permanent: Mix.env() == :prod,
source_url: "https://github.com/jamesnjovu/elixir_number_functions",
description: "Elixir number functions",
deps: deps()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger],
mod: {NumberF.Application, []}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:number, "~> 1.0.1"},
{:ex_doc, "~> 0.23", only: :dev, runtime: false},
]
end
def package do
[
# This option is only needed when you don't want to use the OTP application name
name: "number_f",
# These are the default files included in the package
files: ~w(lib .formatter.exs mix.exs README* LICENSE*),
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/jamesnjovu/elixir_number_functions"}
]
end
end