Skip to content

bun why (like yarn why) #692

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Tracked by #159
nandorojo opened this issue Jul 13, 2022 · 3 comments
Open
Tracked by #159

bun why (like yarn why) #692

nandorojo opened this issue Jul 13, 2022 · 3 comments
Labels
bun install Something that relates to the npm-compatible client enhancement New feature or request

Comments

@nandorojo
Copy link

What is the problem this feature will solve?

I like using yarn why <package-name> to see what version I have and where it came from.

What is the feature you are proposing to solve the problem?

bun why <package name>

What alternatives have you considered?

Switching from Bun to yarn as the package manager.

PS – wow this thing is fast. Mind blown.

@nandorojo nandorojo added the enhancement New feature or request label Jul 13, 2022
@Electroid Electroid added the bun install Something that relates to the npm-compatible client label Nov 2, 2022
@nektro nektro mentioned this issue Oct 16, 2024
67 tasks
@kravetsone
Copy link

no need to switching

i use npm why when install modules with bun and all works fine

@stavalfi
Copy link

Seems like a good alternative for now is to use: https://github.com/ranyitz/qnm

> bunx qnm mimic-fn

exmaple output:

mimic-fn 5.0.0 ↰ 1 year ago | 4.0.0 ↰ 3 years ago
├── 4.0.0 ⇡ 3 years ago
├─┬ jest-changed-files
│ └─┬ execa
│   └─┬ onetime
│     └── 2.1.0 ⇡ 5 years ago
├─┬ lint-staged
│ └── 4.0.0 ⇡ 3 years ago
├─┬ log-update
│ └─┬ cli-cursor
│   └─┬ restore-cursor
│     └─┬ onetime
│       └── 2.1.0 ⇡ 5 years ago
└─┬ restore-cursor
  └─┬ onetime
    └── 2.1.0 ⇡ 5 years ago

@JayPe69
Copy link

JayPe69 commented Feb 12, 2025

As mentioned by @kravetsone , I'm using :

bunx npm why

or

bunx npm ls 

It works perfectly

@RiskyMH RiskyMH marked this as a duplicate of #19095 Apr 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bun install Something that relates to the npm-compatible client enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants