nodejs / corepack

Zero-runtime-dependency package acting as bridge between Node projects and their package managers
MIT License
2.52k stars 165 forks source link

feat(use): add `--from-npm` CLI flag #358

Open aduh95 opened 8 months ago

aduh95 commented 8 months ago

This implements the flag discussed in https://github.com/nodejs/corepack/issues/354#issuecomment-1895747551. This of course makes sense only if we add support for arbitrary URLs, but that's for another PR.

arcanis commented 7 months ago

Syntax-wise, what do you think of instead supporting corepack use yarn@npm:..., similar to how deps can be aliased?