The `tls-test` package, currently at version `0.0.1`, is a specialized diagnostic utility designed to verify that a user's Node.js and npm client environment supports TLS 1.2 or higher for connecting to the public npm registry. It was primarily introduced as a compatibility checker ahead of npm's enforcement of TLS 1.2 on October 4, 2021. This package is not a general-purpose library, nor does it have a regular release cadence, serving instead as a static test. Its key differentiator is providing a direct, isolated test against an HTTPS endpoint already enforcing TLS 1.2, allowing users to confirm their setup without waiting for the full registry enforcement. While the enforcement date has passed, it remains valuable for troubleshooting connectivity issues on legacy systems, custom Node.js builds, or restrictive network environments where TLS compatibility might still be a concern.
npm install tls-testNo compatibility data collected yet for this library.
Installs the `tls-test` package globally to confirm your npm client and Node.js environment support TLS 1.2 or higher.
Upgrade to a currently supported version of Node.js (which includes TLS 1.2+ support) and the latest version of npm (v7+).
Verify Node.js is a supported version (v0.10.0+ for TLS 1.2) and npm is updated. Consult Node.js and npm documentation for upgrade paths.
Update your npm registry configuration to use `https://` by running `npm config set registry https://registry.npmjs.org/` to ensure secure connections and avoid warnings.
Run `npm config set registry https://registry.npmjs.org/` to update your registry protocol.
Consult your IT department to configure npm to trust the corporate root certificate, or set `npm config set strict-ssl false` (use with caution, as this disables certificate validation).
Ensure your Node.js and npm are up-to-date. Check network connectivity, VPNs, and corporate proxy settings. Re-run the `tls-test` command to diagnose the TLS layer specifically.
No dependency data recorded yet.