{"library":"npmrc-replace-env","type":"library","category":null,"description":"npmrc-replace-env is a Node.js utility designed to simplify the management of npm registry configurations and authentication tokens across various projects and environments. It dynamically generates or updates a `.npmrc` file based on a user-defined `.npmrc.config` template and corresponding environment variables, which can be loaded from `.env` files. The current stable version is 1.2.1. The project follows a regular release cadence with frequent patch releases addressing bug fixes and dependency updates, alongside minor releases introducing new features like shell-style variable syntax support. Its primary differentiator is its focus on securely managing sensitive npm configuration details by preventing their exposure in version control, leveraging environment variables for token replacement. It supports both prefix-based (`NPMRC_TOKEN`) and shell-style (`$TOKEN`, `${TOKEN}`) placeholder syntax, offering flexibility for different CI/CD environments, including GitHub Actions. The tool is primarily used via its command-line interface with `npx` and requires Node.js version 24.0.0 or higher for current versions.","language":"javascript","status":"active","version":"1.2.1","tags":["javascript","npmrc","npmrc-generator","config-template","configuration","config","generator","environment-variables","env","typescript"],"install":[{"cmd":"npm install npmrc-replace-env","imports":["npx npmrc-replace-env","import type { NpmrcReplaceEnvOptions } from 'npmrc-replace-env';","import type { NpmrcReplaceEnvError } from 'npmrc-replace-env';"]},{"cmd":"yarn add npmrc-replace-env","imports":[]},{"cmd":"pnpm add npmrc-replace-env","imports":[]}],"homepage":null,"github":"https://github.com/dennzimm/npmrc-replace-env","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/npmrc-replace-env","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/npmrc-replace-env/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}