# netrc-parser

> netrc parser

Latest version **3.1.6** (published 2018-08-17) · ISC license · 0 weekly downloads

## Install

```sh
npm install netrc-parser
pnpm add netrc-parser
yarn add netrc-parser
bun add netrc-parser
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.1.6 |
| Published | 2018-08-17 |
| First published | 2017-03-01 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >= 8.0.0 |
| Dependencies | 2 |
| Unpacked size | 13.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 10 |
| Author | Jeff Dickey |
| Maintainers | dickeyxxx |
| Keywords | netrc |

## Links

- npm: https://www.npmjs.com/package/netrc-parser
- Repository: https://github.com/jdxcode/node-netrc-parser
- Issues: https://github.com/jdxcode/node-netrc-parser/issues
- npm.io page: https://npm.io/package/netrc-parser

## Dependencies (2)

- [debug](https://npm.io/package/debug.md) ^3.1.0
- [execa](https://npm.io/package/execa.md) ^0.10.0

## Alternatives

- [jsforce](https://npm.io/package/jsforce.md) — 851.2K weekly downloads
- [react-native-qrcode-svg](https://npm.io/package/react-native-qrcode-svg.md) — 693.5K weekly downloads
- [@salesforce/plugin-data](https://npm.io/package/@salesforce/plugin-data.md) — 394.9K weekly downloads
- [@backstage/plugin-search-common](https://npm.io/package/@backstage/plugin-search-common.md) — 308.5K weekly downloads
- [@chain-registry/types](https://npm.io/package/@chain-registry/types.md) — 38.4K weekly downloads

## Recent versions

- 3.1.6 (latest) — 2018-08-17
- 3.1.2-next (next) — 2018-04-06
- 3.1.5 — 2018-05-17
- 3.1.4 — 2018-04-09
- 3.1.3 — 2018-04-06
- 3.1.2 — 2018-04-06
- 3.1.1 — 2018-03-19
- 3.1.0 — 2018-02-07
- 3.0.3 — 2018-01-09
- 3.0.2 — 2018-01-08
- 3.0.1 — 2018-01-07
- 3.0.0 — 2018-01-06
- 2.0.6 — 2018-01-02
- 2.0.5 — 2017-12-25
- 2.0.4 — 2017-12-25
- … 12 more at https://npm.io/package/netrc-parser/versions

## README

# netrc-parser

[![Greenkeeper badge](https://badges.greenkeeper.io/jdxcode/node-netrc-parser.svg)](https://greenkeeper.io/)
[![CircleCI](https://circleci.com/gh/jdxcode/node-netrc-parser/tree/master.svg?style=shield)](https://circleci.com/gh/jdxcode/node-netrc-parser/tree/master)
[![Build status](https://ci.appveyor.com/api/projects/status/vxkkab97cm9lnwb9/branch/master?svg=true)](https://ci.appveyor.com/project/Heroku/node-netrc-parser/branch/master)
[![codecov](https://codecov.io/gh/jdxcode/node-netrc-parser/branch/master/graph/badge.svg)](https://codecov.io/gh/jdxcode/node-netrc-parser)
[![npm](https://img.shields.io/npm/v/netrc-parser.svg)](https://npmjs.org/package/netrc-parser)
[![npm](https://img.shields.io/npm/dw/netrc-parser.svg)](https://npmjs.org/package/netrc-parser)
[![npm](https://img.shields.io/npm/l/netrc-parser.svg)](https://github.com/jdxcode/node-netrc-parser/blob/master/package.json)
[![David](https://img.shields.io/david/jdxcode/node-netrc-parser.svg)](https://david-dm.org/jdxcode/node-netrc-parser)

# API

## Netrc

parses a netrc file

**Examples**

```javascript
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
```

---
_Source: https://npm.io/package/netrc-parser · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
