GitShow/sindresorhus/environment
sindresorhus

environment

Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc

by sindresorhus
check-environmentnode-modulenpm-packageruntime-environment
Star on GitHubForknpm

JavaScript

167 stars1 forks1 contributorQuiet · 1y agoSince 2024v1.1.0MIT

Meet the team

See all 1 on GitHub →
sindresorhus
sindresorhus5 contributions

Languages

View on GitHub →
JavaScript100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent fixes

View closed PRs →
silverwind
`isNode()` should not be true for bunClosedIssue

Bun unfortunately masquerades as node in : Imho, should return false when is present. Alternatively, call out this problem in docs only.

silverwind · 2y ago
Zhang-Wei-666
Feature Request - isCIClosedIssue

判断当前是否在 CI 环境中运行 Determine whether it is currently running in a CI environment

Zhang-Wei-666 · 2y ago
Structured data for AI agents

Repository: sindresorhus/environment. Description: Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc Stars: 167, Forks: 1. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Topics: check-environment, node-module, npm-package, runtime-environment. Latest release: v1.1.0 (2y ago). Open PRs: 0, open issues: 0. Last activity: 1y ago. Community health: 85%. Top contributors: sindresorhus.

·@ofershap

Replace github.com with gitshow.dev