Skip to content

MishaConway/elixir-stringify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stringify

Brings Ruby style inspect and Javascript style stringify to elixir

Installation

If available in Hex, the package can be installed as:

  1. Add stringify to your list of dependencies in mix.exs:
```elixir
def deps do
  [{:stringify, "~> 0.1.1"}]
end
```

Usage

The following are available for stringifying arbitrary objects

  • :i.inspect/1
  • :i.i/1
  iex> m = %{"a" => 1, "b" => 2, "c" => 3}
  iex> IO.puts "m is #{:i.i m}"
  m is %{"a" => 1, "b" => 2, "c" => 3}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages