Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 1.29 KB

README.md

File metadata and controls

25 lines (19 loc) · 1.29 KB

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