Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

ynpx

bluelovers1.4kISC2.1.6TypeScript support: included

npx equivalent in yarn

yarn, run, local, bin, scripts, script, package, project, npx, dlx, npm, npm exec, shell, npm bin, cli, ypx, ynpx, yypx, yarn-tool, npm run, yarn run, alias, global

readme

.github/workflows/test.yml

README.md

`npx` equivalent in yarn

this module name is ynpx not ypx


fist run (when not have cache), need a long wait

image

second run only need 5.x sec

image_1

install

npm install -g ynpx

Usage

ynpx -p esm -p mocha --prefer-offline -- "!(node_modules)/**/*.{test,spec}.{ts,tsx}"
ynpx jest

ynpx -q cowsay -- "workflows test"

image_2

alias

after install u can use alias name for start it

ynpx mocha
yypx mocha
ypx mocha

other yarn tools