ltsvex alternatives and similar packages
Based on the "Text and Numbers" category.
Alternatively, view ltsvex alternatives based on common mentions on social networks and blogs.
-
money
Elixir library for working with Money safer, easier, and fun... Is an interpretation of the Fowler's Money pattern in fun.prog. -
nanoid
Elixir port of NanoID, a secure and URL-friendly unique ID generator. https://hex.pm/packages/nanoid -
secure_random
Convenience library for random base64 strings modeled after my love for Ruby's SecureRandom -
chinese_translation
An elixir module to translate simplified Chinese to traditional Chinese, and vice versa, based on wikipedia data -
veritaserum
Sentiment analysis based on afinn-165, emojis and some enhancements. -
abacus
Parses and evaluates mathematical expressions in Elixir. Inspired by math.js -
inet_cidr
CIDR library for Elixir that is compatible with Erlang's :inet and supports both IPv4 and IPv6 -
haikunator
Generate Heroku-like memorable random names to use in your apps or anywhere else. -
mt940
MT940 (standard structured SWIFT Customer Statement message) parser for Elixir. -
Ex_Cldr_Units
Unit formatting (volume, area, length, ...) functions for the Common Locale Data Repository (CLDR)
Clean code begins in your IDE with SonarLint
Do you think we are missing an alternative of ltsvex or a related project?
Popular Comparisons
README
LTSV - A Pure Elixir LTSV Parser
A Labeled Tab-separated Values parser implementation in Elixir
What's LTSV?
Installation
Add :ltsv
library to your project's dependencies in mix.exs
:
defp deps do
[
{:ltsv, "~> 0.1"}
]
end
And fetch:
$ mix deps.get
Usage
Parse a ltsv string
iex> LTSV.parse("name:taka\taddress:Seattle\\nname:neko\taddress:near") |> Enum.map(&Dict.to_list/1)
[[{"name", "taka"}, {"address", "Seattle"}], [{"name", "neko"}, {"address", "near"}]]
Dump a list of Dict
s into a ltsv string
iex> LTSV.dump [%{"address" => "Seattle", "name" => "taka"}, %{"address" => "Chicago", "name" => "tetsuo"}]
"address:Seattle\tname:taka\naddress:Chicago\tname:tetsuo"
iex> LTSV.dump [%{name: "taka"}]
"name:taka"
Documentation
License
Copyright © 2014 Takayuki Matsubara, released under the MIT license.
*Note that all licence references and agreements mentioned in the ltsvex README section above
are relevant to that project's source code only.