Skip to content
JS
Package

yarn-or-npm

Use Yarn or npm to execute a command

v3.0.1, 21 Aug 2019MITCommonJSTypes: None
$ npm install yarn-or-npm

Key numbers

As of 25 Sept 2026
Weekly downloads
405.7k
+149% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
7 years ago
v3.0.1
GitHub stars
48
4 forks
Open issues / PRs
0 / 12
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
0200k400k600kSept 2025Mar 2026Sept 2026High 571.4k (18 Aug 2026)Low 104.4k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

405,695 downloads last week, 1,778,801 in the last month. The 12-month change of +149% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
09 in total
Latest version
3.0.1, 21 Aug 20197 years ago
First published
2 Nov 2016
Last push to GitHub
5 Jan 20231,358 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
12
Commits, last 52 weeks
0
Dependents on npm
46

Major versions

  1. v3 first release 3.0.0, 24 Jul 2019
  2. v2 first release 2.0.0, 2 Nov 2016
  3. v1 first release 1.1.0, 2 Nov 2016

Recent releases

VersionPublished
3.0.121 Aug 2019
3.0.024 Jul 2019
2.0.419 Apr 2017
2.0.326 Jan 2017
2.0.22 Nov 2016
2.0.12 Nov 2016
2.0.02 Nov 2016
1.2.02 Nov 2016
1.1.02 Nov 2016
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=8.6.0
Runtimes
-
Unpacked size (npm)
5.2 kB
Dependencies (2)
pkg-dircross-spawn
npm install yarn-or-npm
  • jsDelivrhttps://cdn.jsdelivr.net/npm/yarn-or-npm@3.0.1/
  • unpkghttps://unpkg.com/yarn-or-npm@3.0.1/
  • esm.shhttps://esm.sh/yarn-or-npm@3.0.1
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.