"use strict";
/* Socket Lib - Built with rolldown */
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const require_env_rewire = require('./rewire.js');

//#region src/env/node-auth-token.ts
/**
* @file NODE_AUTH_TOKEN environment variable getter. Exports
*   `getNodeAuthToken()`, returning the value of `NODE_AUTH_TOKEN` used to
*   authenticate against Node.js package registries.
*/
/**
* Returns the value of the NODE_AUTH_TOKEN environment variable.
*
* @example
*   ;```typescript
*   import { getNodeAuthToken } from '@socketsecurity/lib/env/node-auth-token'
*
*   const token = getNodeAuthToken()
*   // e.g. 'npm_abc123...' or undefined
*   ```
*
* @returns The Node.js registry auth token, or `undefined` if not set
*/
/*@__NO_SIDE_EFFECTS__*/
function getNodeAuthToken() {
	return require_env_rewire.getEnvValue("NODE_AUTH_TOKEN");
}

//#endregion
exports.getNodeAuthToken = getNodeAuthToken;