Socket
Book a DemoInstallSign in
Socket

@cloudpss/env

Package Overview
Dependencies
Maintainers
1
Versions
128
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cloudpss/env

Get/set urls for cloudpss from `process.env` (also `document.baseURI` or `location.href`).

npmnpm
Version
0.5.50
Version published
Maintainers
1
Created
Source

@cloudpss/env

Get/set urls for cloudpss from process.env (also document.baseURI or location.href).

All urls WILL NOT ends with '/', even if you set them with trailing '/'.

  • HOME_URL: process.env.CLOUDPSS_HOME_URL Home page url of cloudpss, defaults to "https://cloudpss.net".
  • GQL_URL: process.env.CLOUDPSS_GQL_URL GraphQL API endpoint of cloudpss, defaults to "https://cloudpss.net/graphql".
  • API_URL: process.env.CLOUDPSS_API_URL Common API endpoint of cloudpss, defaults to "https://cloudpss.net/api"

FAQs

Package last updated on 14 Jul 2025

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