3.1.6 • Published 6 years ago

netrc-parser v3.1.6

Weekly downloads
85,754
License
ISC
Repository
github
Last release
6 years ago

netrc-parser

Greenkeeper badge CircleCI Build status codecov npm npm npm David

API

Netrc

parses a netrc file

Examples

const netrc = require('netrc-parser').default
netrc.loadSync() // or netrc.load() for async
netrc.machines['api.heroku.com'].password // get auth token from ~/.netrc
netrc.saveSync() // or netrc.save() for async