Skip to content
netrc parser for node.js
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
src
test
.editorconfig
.gitignore
.npmignore
.prettierrc
README.md
appveyor.yml
example.js
package.json
tsconfig.json
tslint.json
yarn.lock

README.md

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
You can’t perform that action at this time.