netrc-parser
TypeScript icon, indicating that this package has built-in type declarations

3.1.6 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i netrc-parser

Weekly Downloads

42,544

Version

3.1.6

License

ISC

Unpacked Size

13.7 kB

Total Files

6

Last publish

Collaborators

  • dickeyxxx