You are familiar with npm/pnpm but have you heard of tnpm or cnpm?
I have written an articles explaining how to install npm packages programmatically. There’s a function called getNpmClient.
Detect tnpm/cnpm client
This comment below and the code show us how you could detect tnpm/cnpm client.
// detect tnpm/cnpm cl...
thinkthroo.com2 min read