Popularity
1.5
Declining
Activity
0.0
Stable
4
3
1

Monthly Downloads: 4
Programming language: Elixir
License: MIT License
Tags: Miscellaneous    
Latest version: v0.0.2

netrc alternatives and similar packages

Based on the "Miscellaneous" category.
Alternatively, view netrc alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of netrc or a related project?

Add another 'Miscellaneous' Package

README

Netrc - Reads netrc files implemented in Elixir

hex.pm version hex.pm downloads Build Status Coverage Status

Installation

Add :netrc library to your project's dependencies in mix.exs:

defp deps do
  [
    {:netrc, "~> 0.0.1"}
  ]
end

And fetch:

$ mix deps.get

Usage

Read netrc files

Read the user's default netrc file:

iex> Netrc.read
%{"api.github.com" => %{"login" => "username", "password" => "pass"}}

Read the specific file path:

iex> Netrc.read("test/data/sample.netrc")
%{"m" => %{"login" => "l", "password" => "p"}}

License

Copyright © 2014-2015 Takayuki Matsubara, released under the MIT license.


*Note that all licence references and agreements mentioned in the netrc README section above are relevant to that project's source code only.