{"library":"octokit-auth-netrc","type":"library","category":null,"description":"The `octokit-auth-netrc` package provides a plugin for Octokit that enables authentication using credentials stored in a user's `.netrc` file. This is particularly useful for command-line tools and scripts that need to interact with GitHub without hardcoding tokens or using environment variables directly. The current stable version is 4.0.0, which was released on January 30, 2026. This library's release cadence is generally tied to updates in the Octokit ecosystem and Node.js LTS version changes. Its key differentiator is simplifying authentication against GitHub (including GitHub Enterprise Server) by leveraging the standard `.netrc` file format, providing a robust and familiar mechanism for developers who already use this method for other tools like `curl`. It handles both `api.github.com` and custom GitHub Enterprise domains.","language":"javascript","status":"active","version":"4.0.0","tags":["javascript"],"install":[{"cmd":"npm install octokit-auth-netrc","imports":["import { createNetrcAuth } from 'octokit-auth-netrc';","import { AuthFunction } from '@octokit/auth-token';","import { createNetrcAuth } from 'octokit-auth-netrc';\nconst enterpriseAuth = createNetrcAuth({ domain: 'github.acme-inc.com' });"]},{"cmd":"yarn add octokit-auth-netrc","imports":[]},{"cmd":"pnpm add octokit-auth-netrc","imports":[]}],"homepage":"https://npm.im/octokit-auth-netrc","github":"https://github.com/travi/octokit-auth-netrc","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/octokit-auth-netrc","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/octokit-auth-netrc/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Tue Jul 21","install_tag":null}}