File tree 2 files changed +21
-5
lines changed
2 files changed +21
-5
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,26 @@ Create Elixir structs from data.
5
5
[ ![ Build Status] ( https://api.travis-ci.org/robmckinnon/data_morph.svg )] ( https://travis-ci.org/robmckinnon/data_morph )
6
6
[ ![ Inline docs] ( http://inch-ci.org/github/robmckinnon/data_morph.svg )] ( http://inch-ci.org/github/robmckinnon/data_morph )
7
7
8
+ ## Documentation
9
+
10
+ You can view [ full DataMorph API documentation on hexdocs] ( https://hexdocs.pm/data_morph/DataMorph.html ) .
11
+
12
+ ## Installation
13
+
14
+ Add
15
+ ``` elixir
16
+ {:data_morph , " ~> 0.0.1" }
17
+ ```
18
+ to your deps in ` mix.exs ` like so:
19
+
20
+ ``` elixir
21
+ defp deps do
22
+ [
23
+ {:data_morph , " ~> 0.0.1" }
24
+ ]
25
+ end
26
+ ```
27
+
8
28
## Usage examples
9
29
10
30
Define a struct and return stream of structs created from a ` tsv ` string, a ` namespace ` atom and ` name ` string.
@@ -56,7 +76,3 @@ iex> "name\tiso\n" <>
56
76
%OpenRegister .Country {acronym: " UK" , iso: nil , name: " United Kingdom" }
57
77
]
58
78
```
59
-
60
- ## Installation
61
-
62
- Not on Hex yet.
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ defmodule DataMorph.Mixfile do
38
38
39
39
defp description do
40
40
"""
41
- Create Elixir structs from data
41
+ Create Elixir structs from data.
42
42
"""
43
43
end
44
44
You can’t perform that action at this time.
0 commit comments