{"library":"ncu-test-peer","title":"ncu-test-peer","description":"A minimal test package that declares a peer dependency on ncu-test-return-version (v1.x). This package itself has no functional code; it exists solely to validate how package managers (npm, yarn, pnpm) handle peer dependency resolution and version matching during installation. It is part of the npm-check-updates test suite and has no release cadence or production use case.","language":"javascript","status":"active","last_verified":"Sat Apr 25","install":{"commands":["npm install ncu-test-peer"],"cli":null},"imports":["import pkg from 'ncu-test-peer'","import { name } from 'ncu-test-peer'","import type { PkgInfo } from 'ncu-test-peer'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// Install peer dependencies manually\nnpm install ncu-test-peer ncu-test-return-version@\"1.x\"\n\n// Verify installation\nimport pkg from 'ncu-test-peer';\nconsole.log(pkg.name); // 'ncu-test-peer'\n\n// Check peer dependency is present\nimport returnVersion from 'ncu-test-return-version';\nconsole.log(returnVersion()); // '1.0.0' (or compatible version)","lang":"javascript","description":"Shows how to install and use the package with its required peer dependency, and verify the expected behavior.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}