Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

environment

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

environment - npm Package Compare versions

Comparing version 0.0.2 to 1.0.0

index.d.ts

70

package.json
{
"author": "Brandon Benvie <brandon@bbenvie.com> (http://bbenvie.com)",
"name": "environment",
"description": "env getter, setter, deleter, and enumerator from node's process.env as standalone functions, and an env object that behaves.",
"version": "0.0.2",
"keywords": ["env", "environment", "process.env"],
"homepage": "https://github.com/Benvie/node-environment",
"repository": {
"type": "git",
"url": "git://github.com/Benvie/node-environment.git"
},
"main": "environment.js"
}
"name": "environment",
"version": "1.0.0",
"description": "Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc",
"license": "MIT",
"repository": "sindresorhus/environment",
"funding": "https://github.com/sponsors/sindresorhus",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "https://sindresorhus.com"
},
"type": "module",
"exports": {
"types": "./index.d.ts",
"default": "./index.js"
},
"sideEffects": false,
"engines": {
"node": ">=18"
},
"scripts": {
"test": "xo && ava && tsc index.d.ts"
},
"files": [
"index.js",
"index.d.ts"
],
"keywords": [
"runtime",
"environment",
"env",
"execution",
"engine",
"platform",
"context",
"js",
"javascript",
"is",
"check",
"checking",
"detect",
"detection",
"browser",
"node",
"bun",
"deno",
"electron",
"jsdom",
"webworker",
"worker",
"serviceworker"
],
"devDependencies": {
"ava": "^6.1.2",
"typescript": "^5.4.5",
"xo": "^0.58.0"
}
}
binding.gyp
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc