{"library":"ts-pnp","type":"library","category":null,"description":"ts-pnp provides a low-level module resolver specifically designed to integrate Yarn's Plug'n'Play (PnP) resolution strategy with the TypeScript compiler API. It is primarily intended for developers building custom TypeScript compiler hosts, tools, or plugins, rather than for direct application usage. The current stable version is 1.2.0, indicating a mature and stable API, and its release cadence is generally tied to updates in Yarn PnP or TypeScript APIs. Its key differentiator is enabling seamless PnP support for TypeScript's module resolution, allowing TypeScript projects to leverage the benefits of PnP without complex manual configuration, particularly when used in conjunction with companion plugins for build tools like Webpack, Jest, and Rollup.","language":"javascript","status":"maintenance","version":"1.2.0","tags":["javascript","typescript","yarn","plugnplay","pnp"],"last_verified":"Wed May 27","install":[{"cmd":"npm install ts-pnp","imports":["import { resolveModuleName } from 'ts-pnp';","import { resolveModuleName } from 'ts-pnp'; // Used indirectly via resolveModuleName for type directives.","import * as ts from 'typescript';\nimport { resolveModuleName } from 'ts-pnp';"]},{"cmd":"yarn add ts-pnp","imports":[]},{"cmd":"pnpm add ts-pnp","imports":[]}],"homepage":null,"github":"https://github.com/arcanis/ts-pnp","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/ts-pnp","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/ts-pnp/compatibility"}}