https://github.com/sindresorhus/is-npm
Score: 28.21487246032449
Last synced: about 6 hours ago
JSON representation
Repository metadata:
Check if your code is running as an npm or yarn script
- Host: GitHub
- URL: https://github.com/sindresorhus/is-npm
- Owner: sindresorhus
- License: mit
- Created: 2014-07-20T09:35:08.000Z (over 12 years ago)
- Default Branch: main
- Last Pushed: 2026-09-18T19:09:10.000Z (about 2 months ago)
- Last Synced: 2026-10-24T14:54:27.600Z (14 days ago)
- Language: JavaScript
- Homepage:
- Size: 16.6 KB
- Stars: 66
- Watchers: 4
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
- Security: .github/security.md
-
Funding:
- Github: sindresorhus
- Open collective: sindresorhus
- Buy me a coffee: sindresorhus
- Custom: https://sindresorhus.com/donate
Owner metadata:
- Name: Sindre Sorhus
- Login: sindresorhus
- Email:
- Kind: user
- Description: Full-Time Open-Sourcerer. Focused on Swift & JavaScript. Makes macOS apps, CLI tools, npm packages.
- Website: https://sindresorhus.com/apps
- Location:
- Twitter: sindresorhus
- Company:
- Icon url: https://avatars.githubusercontent.com/u/170270?u=34acd557a042ac478d273a4621570cadb6b0bd89&v=4
- Repositories: 1111
- Last Synced at: 2024-10-29T21:14:09.635Z
- Profile URL: https://github.com/sindresorhus
GitHub Events
Total
- Create event: 1
- Issue comment event: 1
- Push event: 1
- Release event: 1
- Watch event: 3
- Total: 7
Last Year
- Watch event: 2
- Total: 2
Committers metadata
Last synced: 1 day ago
Total Commits: 24
Total Committers: 8
Avg Commits per committer: 3.0
Development Distribution Score (DDS): 0.292
Commits in past year: 1
Committers in past year: 1
Avg Commits per committer in past year: 1.0
Development Distribution Score (DDS) in past year: 0.0
| Name | Commits | |
|---|---|---|
| Sindre Sorhus | s****s@g****m | 17 |
| Ruy Adorno | r****o@h****m | 1 |
| Richie Bendall | r****l@g****m | 1 |
| Matt Swensen | s****w@g****m | 1 |
| Kevin Mårtensson | k****n@g****m | 1 |
| Dimitri Benin | B****r | 1 |
| Corey Farrell | g****t@c****m | 1 |
| Yoshida Tomio | m****l@t****s | 1 |
Issue and Pull Request metadata
Last synced: 1 day ago
Total issues: 8
Total pull requests: 8
Average time to close issues: over 1 year
Average time to close pull requests: 7 days
Total issue authors: 8
Total pull request authors: 8
Average comments per issue: 1.88
Average comments per pull request: 0.75
Merged pull request: 7
Bot issues: 0
Bot pull requests: 0
Past year issues: 0
Past year pull requests: 0
Past year average time to close issues: N/A
Past year average time to close pull requests: N/A
Past year issue authors: 0
Past year pull request authors: 0
Past year average comments per issue: 0
Past year average comments per pull request: 0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- honzajavorek (1)
- patarapolw (1)
- vincentmorneau (1)
- BendingBender (1)
- AndersDJohnson (1)
- lachlanhunt (1)
- pladaria (1)
- fjc0k (1)
Top Pull Request Authors
- honzajavorek (1)
- ruyadorno (1)
- mjswensen (1)
- coreyfarrell (1)
- devtomio (1)
- BendingBender (1)
- Richienb (1)
- kevva (1)
Top Issue Labels
- help wanted (1)
- enhancement (1)
Top Pull Request Labels
Package metadata
- Total packages: 13
-
Total downloads:
- npm: 48,714,683 last-month
- Total docker downloads: 3,345,905,379
- Total dependent packages: 471 (may contain duplicates)
- Total dependent repositories: 1,056,854 (may contain duplicates)
- Total versions: 23
- Total maintainers: 1
npmjs.org: is-npm
Check if your code is running as an npm script
- Homepage: https://github.com/sindresorhus/is-npm#readme
- Licenses: MIT
- Latest release: 6.1.0 (published about 1 year ago)
- Last Synced: 2026-11-06T02:35:03.385Z (1 day ago)
- Versions: 7
- Dependent Packages: 469
- Dependent Repositories: 1,056,854
- Downloads: 48,714,683 Last month
- Docker Downloads: 3,345,905,379
-
Rankings:
- Docker downloads count: 0.022%
- Dependent repos count: 0.032%
- Downloads: 0.05%
- Dependent packages count: 0.121%
- Average: 2.022%
- Stargazers count: 5.639%
- Forks count: 6.265%
- Maintainers (1)
-
Funding:
- https://github.com/sponsors/sindresorhus
repo1.maven.org: org.webjars.npm:is-npm
WebJar for is-npm
- Homepage: https://www.webjars.org
- Documentation: https://appdoc.app/artifact/org.webjars.npm/is-npm/
- Licenses: MIT
- Latest release: 4.0.0 (published over 6 years ago)
- Last Synced: 2026-11-05T23:38:32.354Z (1 day ago)
- Versions: 3
- Dependent Packages: 2
- Dependent Repositories: 0
-
Rankings:
- Stargazers count: 21.706%
- Dependent packages count: 22.361%
- Average: 25.394%
- Forks count: 25.528%
- Dependent repos count: 31.98%
repo1.maven.org: org.mvnpm:is-npm
Check if your code is running as an npm script
- Homepage: https://github.com/sindresorhus/is-npm#readme
- Documentation: https://appdoc.app/artifact/org.mvnpm/is-npm/
- Licenses: MIT
- Latest release: 6.1.0 (published about 1 year ago)
- Last Synced: 2026-11-05T23:38:43.420Z (1 day ago)
- Versions: 3
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 27.971%
- Average: 33.98%
- Dependent packages count: 39.989%
ubuntu-23.10: node-is-npm
- Homepage: https://github.com/sindresorhus/is-npm
- Licenses: mit
- Latest release: 5.0.0-2 (published 9 months ago)
- Last Synced: 2026-09-21T12:30:44.333Z (about 2 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
ubuntu-24.04: node-is-npm
- Homepage: https://github.com/sindresorhus/is-npm
- Licenses: mit
- Latest release: 5.0.0-2 (published 9 months ago)
- Last Synced: 2026-03-06T06:58:54.347Z (8 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
debian-10: node-is-npm
- Homepage: https://github.com/sindresorhus/is-npm
- Documentation: https://packages.debian.org/buster/node-is-npm
- Licenses: mit
- Latest release: 1.0.0-1 (published 9 months ago)
- Last Synced: 2026-03-14T02:05:06.097Z (8 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
ubuntu-20.04: node-is-npm
- Homepage: https://github.com/sindresorhus/is-npm
- Licenses: mit
- Latest release: 1.0.0-1 (published 9 months ago)
- Last Synced: 2026-08-06T05:10:02.004Z (3 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
debian-11: node-is-npm
- Homepage: https://github.com/sindresorhus/is-npm
- Status: removed
- Documentation: https://packages.debian.org/bullseye/node-is-npm
- Licenses: mit
- Latest release: 5.0.0-1 (published 9 months ago)
- Last Synced: 2026-08-29T17:26:13.166Z (2 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
debian-13: node-is-npm
- Homepage: https://github.com/sindresorhus/is-npm
- Documentation: https://packages.debian.org/trixie/node-is-npm
- Licenses: mit
- Latest release: 5.0.0-2 (published 9 months ago)
- Last Synced: 2026-03-13T23:12:25.970Z (8 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
debian-12: node-is-npm
- Homepage: https://github.com/sindresorhus/is-npm
- Documentation: https://packages.debian.org/bookworm/node-is-npm
- Licenses: mit
- Latest release: 5.0.0-2 (published 9 months ago)
- Last Synced: 2026-03-13T05:27:02.923Z (8 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
ubuntu-23.04: node-is-npm
- Homepage: https://github.com/sindresorhus/is-npm
- Licenses: mit
- Latest release: 5.0.0-2 (published 9 months ago)
- Last Synced: 2026-03-11T05:10:07.261Z (8 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
ubuntu-24.10: node-is-npm
- Homepage: https://github.com/sindresorhus/is-npm
- Licenses: mit
- Latest release: 5.0.0-2 (published 9 months ago)
- Last Synced: 2026-03-09T07:26:47.631Z (8 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
ubuntu-22.04: node-is-npm
- Homepage: https://github.com/sindresorhus/is-npm
- Licenses: mit
- Latest release: 5.0.0-2 (published 9 months ago)
- Last Synced: 2026-09-17T05:28:35.808Z (about 2 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
Dependencies
- ava ^3.15.0 development
- tsd ^0.17.0 development
- xo ^0.44.0 development
- actions/checkout v5 composite
- actions/setup-node v5 composite