Parse netrc files
Usage
var netrc = ; var myNetrc = ; console// { login: 'my-oauth-token',// password: 'x-oauth-basic' } myNetrc'github.com'login = 'my-new-oauth-token'; netrc;
API
netrc([file])
Loads a .netrc
file, defaulting to ~/.netrc
netrc.parse(string)
Parses netrc formatted string into an object:
netrc.format(object)
Formats a netrc object into a valid string
netrc.save(object)
Persists a netrc object to ~/.netrc
Tests
$ npm test