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

flex-plugins-utils-env

Package Overview
Dependencies
Maintainers
8
Versions
178
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flex-plugins-utils-env

Flex Plugins Environments

  • 4.3.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
8
Created
Source

npm npm NpmLicense

Flex Plugin Utils env

Utility for returning environment variables. It is an isomorphic JavaScript module.

Methods

isWin32

Returns true if OS is Windows. It will return false if script is running on the browser.

persistTerminal

If the module is used on the server, it will set the environment variable to persist the terminal logs.

isTerminalPersisted

Whether the terminal should be persisted or not. Only works on the server.

isQuiet

Whether the scripts should be quiet (no logs). Only works on the server.

isDebug

Returns true if the log level is debug. Works on both the browser and the server.

isTrace

Returns true if the log level is trace. Works on both the browser and the server.

getRegion

Returns the region. Will use the process env if running on the server, otherwise uses the windows.location.

isCI

Returns true if script running in CI. Works on the server only.

Keywords

FAQs

Package last updated on 15 Feb 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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